portcontrol jobs using device object instance instead of IP address

This commit is contained in:
Oliver Gorwits
2016-10-01 16:41:50 +01:00
parent 0cc7e029f3
commit 87cc986004
2 changed files with 3 additions and 1 deletions

View File

@@ -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

View File

@@ -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;