title: Lua program error attempt to call field 'getclient' (a nil value)
body: <p>I am using the following code to list the clients connected to my ESP8266 access point.</p>
  
  <pre><code>cfg={}
  cfg.ssid="ESP8266_";
  cfg.pwd="12345678"
  wifi.ap.config(cfg)
  cfg={}
  cfg.ip="192.168.1.1";
  cfg.netmask="255.255.255.0";
  cfg.gateway="192.168.1.1";
  wifi.ap.setip(cfg);
  wifi.setmode(wifi.SOFTAP)
  table={}
  table=wifi.ap.getclient()
  for mac,ip in pairs(table) do
   print(mac,ip)
  end
  </code></pre>
  
  <p>But it's returning me an error:</p>
  
  <pre><code>attempt to call field 'getclient' (a nil value)
  </code></pre>