Commit 32bf26fb authored by Robert Ricci's avatar Robert Ricci

Beef up a warning message

parent 44937617
......@@ -510,7 +510,10 @@ sub findVlans($@) {
if (defined($mapping{$id})) {
$oldnum = $mapping{$id};
if (defined($num) && ($num != $oldnum))
{ warn "incompatible 802.1Q tag assignments for $id\n";}
{ warn "Incompatible 802.1Q tag assignments for $id\n" .
" Saw $num on $device->{NAME}, but had " .
"$oldnum before\n";}
} else
{ $mapping{$id} = $num; }
}
......
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