Commit 98128f21 authored by Mac Newbold's avatar Mac Newbold

Finished changes for port config in vsnmpit.

parent 2c3efcd5
......@@ -342,6 +342,7 @@ sub ParseArgs {
$n++;
}
die("Which ports do I reconfigure?\n") if (!@p &&($d||$e||$dup||$spd||$a));
$dup = "\L$dup\E"; #lowercase it all...
die("Invalid duplex $dup: Must be full or half\n")
if(!($dup=~/^full$|^half$|^$/));
die("Invalid speed $spd: Must be 10 or 100\n")
......
This diff is collapsed.
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