Commit 9548b993 authored by Ryan Jackson's avatar Ryan Jackson
Browse files

Silence perl's warnings about undefined values

parent 4be2d7b7
......@@ -2436,9 +2436,11 @@ sub getfwconfig($$;$)
}
}
# merge GW info into fwsrvmacs hash
$fwsrvmacs{$fwvars{"EMULAB_GWIP"}} = $fwvars{"EMULAB_GWMAC"};
$fwsrvmacs{$fwvars{"EMULAB_GWIP"}} =~ s/://g;
if (defined($fwvars{"EMULAB_GWIP"})) {
# merge GW info into fwsrvmacs hash
$fwsrvmacs{$fwvars{"EMULAB_GWIP"}} = $fwvars{"EMULAB_GWMAC"};
$fwsrvmacs{$fwvars{"EMULAB_GWIP"}} =~ s/://g;
}
# info for proxy ARP, to publish inside...
if (%fwsrvmacs) {
......
Supports Markdown
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