aboutsummaryrefslogtreecommitdiffstats
path: root/collect-wireless-mac.capsman
diff options
context:
space:
mode:
Diffstat (limited to 'collect-wireless-mac.capsman')
-rw-r--r--collect-wireless-mac.capsman12
1 files changed, 6 insertions, 6 deletions
diff --git a/collect-wireless-mac.capsman b/collect-wireless-mac.capsman
index dd27ba6..1aa5cb7 100644
--- a/collect-wireless-mac.capsman
+++ b/collect-wireless-mac.capsman
@@ -30,12 +30,12 @@ $ScriptLock "collect-wireless-mac.capsman";
:if ([ :len $Lease ] > 0) do={
:set HostName [ / ip dhcp-server lease get $Lease host-name ];
:set Address [ / ip dhcp-server lease get $Lease address ];
- }
- :if ([ :len $HostName ] = 0) do={
- :set HostName "no hostname";
- }
- :if ([ :len $Address ] = 0) do={
- :set Address "no address";
+ :if ([ :len $HostName ] = 0) do={
+ :set HostName "no hostname";
+ }
+ :if ([ :len $Address ] = 0) do={
+ :set Address "no address";
+ }
}
:local RegEntry [ / caps-man registration-table find where mac-address=$Mac ];
:local Interface [ / caps-man registration-table get $RegEntry interface ];