]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Use matching prefix for the ProxyARP IPv6 log files
authorJouni Malinen <jouni@codeaurora.org>
Fri, 15 Mar 2019 21:56:34 +0000 (23:56 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 15 Mar 2019 21:57:44 +0000 (23:57 +0200)
The "_ipv6" part of the file name was missing and this resulted in file
names that conflicted with the IPv4 test cases and could overwrite logs
for those.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
tests/hwsim/test_ap_hs20.py

index af33c34627dc9e0091ceb32f374da8d902d27e22..937d6fa53b7665b40dfe84e0a562c6a3aa36c8a9 100644 (file)
@@ -4945,6 +4945,7 @@ def _test_proxyarp_open_ipv6(dev, apdev, params, ebtables=False):
     prefix = "proxyarp_open"
     if ebtables:
         prefix += "_ebtables"
+    prefix += "_ipv6"
     cap_br = os.path.join(params['logdir'], prefix + ".ap-br0.pcap")
     cap_dev0 = os.path.join(params['logdir'],
                             prefix + ".%s.pcap" % dev[0].ifname)