tests: Fix P2P-GROUP-STARTED event parsing for persistent groups
Do not set the 'ip_addr' value from the "[PERSISTENT]" flag. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
0332c27e32
commit
ebf25480bb
1 changed files with 1 additions and 1 deletions
|
@ -646,7 +646,7 @@ class WpaSupplicant:
|
|||
res['passphrase'] = p.group(1)
|
||||
res['go_dev_addr'] = s[7]
|
||||
|
||||
if len(s) > 8 and len(s[8]) > 0:
|
||||
if len(s) > 8 and len(s[8]) > 0 and "[PERSISTENT]" not in s[8]:
|
||||
res['ip_addr'] = s[8]
|
||||
if len(s) > 9:
|
||||
res['ip_mask'] = s[9]
|
||||
|
|
Loading…
Reference in a new issue