portcontrol jobs using device object instance instead of IP address
This commit is contained in:
@@ -10,6 +10,7 @@
|
|||||||
[BUG FIXES]
|
[BUG FIXES]
|
||||||
|
|
||||||
* Improve security of REMOTE_USER handling (B. Marshall)
|
* Improve security of REMOTE_USER handling (B. Marshall)
|
||||||
|
* portcontrol jobs using device object instance instead of IP address
|
||||||
|
|
||||||
2.033006 - 2016-03-20
|
2.033006 - 2016-03-20
|
||||||
|
|
||||||
|
|||||||
@@ -63,7 +63,8 @@ sub _set_port_generic {
|
|||||||
my ($job, $slot, $column) = @_;
|
my ($job, $slot, $column) = @_;
|
||||||
$column ||= $slot;
|
$column ||= $slot;
|
||||||
|
|
||||||
my $ip = $job->device;
|
my $device = $job->device;
|
||||||
|
my $ip = $device->ip;
|
||||||
my $pn = $job->port;
|
my $pn = $job->port;
|
||||||
my $data = $job->subaction;
|
my $data = $job->subaction;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user