2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-08 22:01:30 +00:00

Merge pull request #5486 from jjohnson42/fixconfigfpc

fix configfpc with no gateway
This commit is contained in:
zet809
2018-08-17 15:13:33 +08:00
committed by GitHub

View File

@ -938,7 +938,7 @@ sub setnetinfo {
}
@cmd = (0x01, $channel_number, 0x6, @mask);
}
} elsif ($subcommand =~ m/gateway/) {
} elsif ($subcommand =~ m/gateway/ and $argument) {
my $gw = inet_ntoa(inet_aton($argument));
my @mask = split /\./, $gw;
foreach (0 .. 3) {