X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=clients%2Fzyxelng.pl;h=05bf471421368048734ff9a1aabfe9ff5acc27a2;hb=bdaf7e9dd249ecd26de539c0fa978175a6ea45ec;hp=c3d08fcfa505017c723ceefd606145606b3ba13d;hpb=a78ca3c9628b209500205ad77b333bd656175f34;p=nms diff --git a/clients/zyxelng.pl b/clients/zyxelng.pl index c3d08fc..05bf471 100644 --- a/clients/zyxelng.pl +++ b/clients/zyxelng.pl @@ -33,6 +33,7 @@ my $switchip; #$switchip = "192.168.1.1" unless $one; $switchip = $oldip; my $switch = switch_connect($switchip); + or die "Could not connect to $switchip"; my $cmds1 = <