mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 11:22:27 +00:00 
			
		
		
		
	fix configfpc with no gateway
This commit is contained in:
		| @@ -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) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user