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:
Ben Greear
2018-08-08 17:44:09 -07:00
parent be657e72d7
commit 79c23ed313
4 changed files with 111 additions and 9 deletions

View File

@@ -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";