Commit 57e4c4e1 authored by Mike Hibler's avatar Mike Hibler

For now, make failure to set auto-negotiate non-fatal since we cannot seem

to do that on the Cisco 2950s currently.
parent 60395926
......@@ -93,7 +93,7 @@ if (@ARGV < 2) {
# Read in ARGV
#
$op = shift (@ARGV);
if ($op =~ /^(on|off|cycle)$/) {
if ($op =~ /^(on|off|cycle|status)$/) {
$op = $1;
} else {
exit &usage;
......
......@@ -174,7 +174,8 @@ sub whacksome($@) {
if ($debug);
if (system("$SNMPIT -a $portstr")) {
warn "WhOL: could not set autoconfig for $portstr\n";
$failed++;
# not fatal for now til we fix autoneg on cisco2950s
# $failed++;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment