diff --git a/Netdisco/META.yml b/Netdisco/META.yml
index d8c88685..582826e2 100644
--- a/Netdisco/META.yml
+++ b/Netdisco/META.yml
@@ -60,4 +60,4 @@ resources:
homepage: http://netdisco.org/
license: http://opensource.org/licenses/bsd-license.php
repository: git://git.code.sf.net/p/netdisco/netdisco-ng
-version: 2.007000_004
+version: 2.007000_005
diff --git a/Netdisco/lib/App/Netdisco.pm b/Netdisco/lib/App/Netdisco.pm
index dd9359ec..24a2c987 100644
--- a/Netdisco/lib/App/Netdisco.pm
+++ b/Netdisco/lib/App/Netdisco.pm
@@ -7,7 +7,7 @@ use 5.010_000;
use File::ShareDir 'dist_dir';
use Path::Class;
-our $VERSION = '2.007000_004';
+our $VERSION = '2.007000_005';
BEGIN {
if (not length ($ENV{DANCER_APPDIR} || '')
diff --git a/Netdisco/lib/App/Netdisco/Daemon/Worker/Interactive/PortActions.pm b/Netdisco/lib/App/Netdisco/Daemon/Worker/Interactive/PortActions.pm
index 5d868c22..227cb722 100644
--- a/Netdisco/lib/App/Netdisco/Daemon/Worker/Interactive/PortActions.pm
+++ b/Netdisco/lib/App/Netdisco/Daemon/Worker/Interactive/PortActions.pm
@@ -101,7 +101,7 @@ sub set_power {
my $ip = $job->device;
my $pn = $job->port;
- (my $data = $job->subaction) =~ s/-\w+//;
+ (my $data = $job->subaction) =~ s/-\w+//; # remove -other
# snmp connect using rw community
my $info = snmp_connect_rw($ip)
diff --git a/Netdisco/lib/App/Netdisco/Manual/Configuration.pod b/Netdisco/lib/App/Netdisco/Manual/Configuration.pod
index 4bbbb773..2dde3667 100644
--- a/Netdisco/lib/App/Netdisco/Manual/Configuration.pod
+++ b/Netdisco/lib/App/Netdisco/Manual/Configuration.pod
@@ -286,7 +286,6 @@ Value: List of Strings. Default:
- 'Virtual-Template\d+'
- 'Virtual-Access\d+'
- '(E|T)\d \d\/\d\/\d'
- - 'Vlan1'
If present, device ports whose names match fully any of the items in this list
will be ignored by the discovery process.
diff --git a/Netdisco/lib/App/Netdisco/Web/PortControl.pm b/Netdisco/lib/App/Netdisco/Web/PortControl.pm
index d2defc0a..8ba697ed 100644
--- a/Netdisco/lib/App/Netdisco/Web/PortControl.pm
+++ b/Netdisco/lib/App/Netdisco/Web/PortControl.pm
@@ -8,7 +8,7 @@ ajax '/ajax/portcontrol' => sub {
send_error('Forbidden', 403)
unless var('user')->port_control;
send_error('No device/port/field', 400)
- unless param('device') and param('port') and param('field');
+ unless param('device') and (param('port') or param('field'));
my $log = sprintf 'd:[%s] p:[%s] f:[%s]. a:[%s] v[%s]',
param('device'), (param('port') || ''), param('field'),
diff --git a/Netdisco/share/config.yml b/Netdisco/share/config.yml
index 3098c512..57800308 100644
--- a/Netdisco/share/config.yml
+++ b/Netdisco/share/config.yml
@@ -73,7 +73,6 @@ ignore_interfaces:
- 'Virtual-Template\d+'
- 'Virtual-Access\d+'
- '(E|T)\d \d\/\d\/\d'
- - 'Vlan1'
ignore_private_nets: false
reverse_sysname: false
vlanctl: true
diff --git a/Netdisco/share/views/ajax/device/ports.tt b/Netdisco/share/views/ajax/device/ports.tt
index ff39138c..1715bb72 100644
--- a/Netdisco/share/views/ajax/device/ports.tt
+++ b/Netdisco/share/views/ajax/device/ports.tt
@@ -213,10 +213,10 @@
N
[% row.remote_ip | html_entity %] (port: [% row.remote_port | html_entity %]
- [% ' id: '_ row.remote_type IF row.remote_type%]
- [% ' type: '_ row.remote_id IF row.remote_id%])
+ [% ' id: '_ row.remote_id IF row.remote_id %]
+ [% ' type: '_ row.remote_type IF row.remote_type %])
[% ELSE %]
- N (probable neighbor)
+ N (possible uplink)
[% END %]
[% END %]
[% IF params.c_nodes %]