From 1d963fc1b545ae7f031db9fe4424eb4d9c27edf4 Mon Sep 17 00:00:00 2001 From: Jed Reynolds Date: Mon, 28 Oct 2019 18:22:44 -0700 Subject: [PATCH] Correct mac pattern still not correct enough --- py-json/create_sta.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/py-json/create_sta.py b/py-json/create_sta.py index 8897a6c0..74281d51 100644 --- a/py-json/create_sta.py +++ b/py-json/create_sta.py @@ -106,7 +106,7 @@ def main(): "flags":68727874560, "ssid": ssid, "key": passphrase, - "mac": "NA", #gen_mac(parent_radio_mac, random_hex.pop(0)), #"xx:xx:xx:*:xx", + "mac": "xx:xx:xx:xx:*:xx", # "NA", #gen_mac(parent_radio_mac, random_hex.pop(0)) "mode": 0, "rate": "DEFAULT" }) @@ -116,7 +116,7 @@ def main(): # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # example 2 - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -d # uses URLs /cli-json/rm_vlan, /cli-json/add_sta # and those accept POST in json formatted text @@ -150,7 +150,7 @@ def main(): "flags":68727874560, "ssid": ssid, "key": passphrase, - "mac": gen_mac(parent_radio_mac, octet), #"xx:xx:xx:*:xx", + "mac": "xx:xx:xx:xx:*:xx", #gen_mac(parent_radio_mac, octet) "mode": 0, "rate": "DEFAULT" })