X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=clients%2Fzyxelng.pl;h=05bf471421368048734ff9a1aabfe9ff5acc27a2;hb=bdaf7e9dd249ecd26de539c0fa978175a6ea45ec;hp=a5ec109939eb74d527d683c21373984d1230c3dc;hpb=c3722eb392964e4f5172d1a49de9cc14a4aa8dcd;p=nms diff --git a/clients/zyxelng.pl b/clients/zyxelng.pl index a5ec109..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 = <