From fe80e0a56b3b67699a6117b010e6d5c81e8391ba Mon Sep 17 00:00:00 2001 From: Joachim Tingvold Date: Sat, 21 Mar 2015 19:53:10 +0100 Subject: Make AP-DHCP-options more vendor-generic. --- bootstrap/make-dhcpd.pl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'bootstrap') diff --git a/bootstrap/make-dhcpd.pl b/bootstrap/make-dhcpd.pl index f263ae7..f1a398e 100755 --- a/bootstrap/make-dhcpd.pl +++ b/bootstrap/make-dhcpd.pl @@ -86,14 +86,14 @@ if ( not -f $dhcpd_wlc_conf ) open WLCFILE, ">" . $dhcpd_wlc_conf or die ( $! . " " . $dhcpd_wlc_conf); print WLCFILE <<"EOF"; -option space CiscoAP; -option CiscoAP.server-address code 241 = array of ip-address; +option space AP; +option AP.server-address code 241 = array of ip-address; set vendor-string = option vendor-class-identifier; class "cisco-aps" { - match if substring (option vendor-class-identifier, 0, 8) = "Cisco AP"; - vendor-option-space CiscoAP; - option CiscoAP.server-address $nms::config::wlc1; + match if substring (option vendor-class-identifier, 0, 8) = "Access Point"; + vendor-option-space AP; + option AP.server-address $nms::config::wlc1; } EOF close WLCFILE; -- cgit v1.2.3