mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-22 11:42:05 +00:00
fix configfpc with no gateway
This commit is contained in:
parent
a87db132b7
commit
a71a6c40b0
@ -936,7 +936,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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user