aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoachim Tingvold <joachim@tingvold.com>2017-04-08 19:10:48 +0200
committerJoachim Tingvold <joachim@tingvold.com>2017-04-08 19:10:48 +0200
commit73e69ae72f2c619c7dd36cf40891dd3683abfd89 (patch)
treec006d042b404109da1ce601612b497b3392a900d
parentedd1d4dab1a00cce69440e06dfb932a7185960c0 (diff)
More consistent FAP-DHCP-log.
-rwxr-xr-xbootstrap/make-dhcpd.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap/make-dhcpd.pl b/bootstrap/make-dhcpd.pl
index dfd2126..96c5fba 100755
--- a/bootstrap/make-dhcpd.pl
+++ b/bootstrap/make-dhcpd.pl
@@ -210,12 +210,12 @@ class "fap-vendor-class" {
# Vendor-Class Option 60, length 21: "Juniper-ex2200-48t-4g"
# Vendor-Class Option 60, length 21: "Juniper-ex3300-48p"
match if substring (option vendor-class-identifier, 0, 10) = "Juniper-ex";
- log( info, concat( "FAP: " , option vendor-class-identifier , " - " , hardware , " (" , option host-name , ") - " , option agent.circuit-id ));
+ log( info, concat( "FAP: ", binary-to-ascii(16,8,":",hardware), " (", option host-name, ") - ", option agent.circuit-id, " - ", option vendor-class-identifier ));
}
class "fap-mac" {
# some Juniper switches won't send vendor-class-identifier
match if binary-to-ascii(16,8,":",substring(hardware, 1, 3)) = "44:f4:77";
- log( info, concat( "FAP: " , hardware , " (" , option host-name , ") - " , option agent.circuit-id ));
+ log( info, concat( "FAP: ", binary-to-ascii(16,8,":",hardware), " (", option host-name, ") - ", option agent.circuit-id ));
}
group {