mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-10-29 09:52:35 +00:00
Support modifying IP/DHCP in wlanpro and other helper scripts.
Fix setting fixed vs IP in lf_associate as well.
This commit is contained in:
@@ -587,7 +587,7 @@ sub fmt_port_cmd {
|
||||
$ist_flags |= 0x4 if($ip ne "NA");
|
||||
$ist_flags |= 0x8 if($::netmask ne "NA");
|
||||
$ist_flags |= 0x20 if($mac_addr ne "NA");
|
||||
$ist_flags |= 0x4000 if($use_dhcp); # what does 'including client-id' mean?
|
||||
$ist_flags |= 0x4000; # Always interested in DHCP, we either set it to DHCP or IP
|
||||
$ist_flags |= 0x800000; # port up
|
||||
|
||||
my $gateway = "0.0.0.0";
|
||||
|
||||
Reference in New Issue
Block a user