Browse Source

Accidentally put STATION instead of STATIONAP

Aaron Shaw 7 years ago
parent
commit
8579c5bb22
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bin/system-info.lua

+ 1 - 1
bin/system-info.lua

@@ -33,7 +33,7 @@ return function (connection, req, args)
     connection:send('<p><b>WiFi Mode:</b> NULLMODE</p>')
   end
 
-  if (wifimode == wifi.STATION) or (wifimode == wifi.SOFTAP) then
+  if (wifimode == wifi.STATIONAP) or (wifimode == wifi.SOFTAP) then
     local ip, netmask, gateway = wifi.ap.getip()
     connection:send('<p><b>AP IP:</b> '..ip..'</p>')
     connection:send('<p><b>AP netmask:</b> '..netmask..'</p>')