diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2021-04-14 12:32:57 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2021-04-14 12:32:57 +0000 |
commit | 2c6753c9b80e8bb2c7e0b661c099a72b69f9c57e (patch) | |
tree | 0717280a23c0274b752aa214a5ca737e11aeeba8 /regress | |
parent | 0b3f148b8443907bd9815f4646d2145f7e44190c (diff) |
Rename privacy to temporary in slaacd regress, then it passes.
OK florian@
Diffstat (limited to 'regress')
-rw-r--r-- | regress/sbin/slaacd/Slaacctl.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/regress/sbin/slaacd/Slaacctl.py b/regress/sbin/slaacd/Slaacctl.py index 7a290006e0a..a9a9ce34000 100644 --- a/regress/sbin/slaacd/Slaacctl.py +++ b/regress/sbin/slaacd/Slaacctl.py @@ -1,4 +1,4 @@ -# $OpenBSD: Slaacctl.py,v 1.3 2020/12/25 14:25:58 bluhm Exp $ +# $OpenBSD: Slaacctl.py,v 1.4 2021/04/14 12:32:56 bluhm Exp $ # Copyright (c) 2017 Florian Obser <florian@openbsd.org> # Copyright (c) 2020 Alexander Bluhm <bluhm@openbsd.org> @@ -26,7 +26,7 @@ class ShowInterface(object): self.debug = debug self.index = None self.running = None - self.privacy = None + self.temporary = None self.lladdr = None self.linklocal = None self.RAs = [] @@ -43,7 +43,7 @@ class ShowInterface(object): rep[self.ifname] = iface iface['index'] = self.index iface['running'] = self.running - iface['privacy'] = self.privacy + iface['temporary'] = self.temporary iface['lladdr'] = self.lladdr iface['linklocal'] = self.linklocal iface['RAs'] = self.RAs @@ -73,10 +73,10 @@ class ShowInterface(object): state = 'IFINFO' elif state == 'IFINFO': m = re.match("^\s+index:\s+(\d+)\s+running:" - + "\s+(\w+)\s+privacy:\s+(\w+)", line) + + "\s+(\w+)\s+temporary:\s+(\w+)", line) self.index = m.group(1) self.running = m.group(2) - self.privacy = m.group(3) + self.temporary = m.group(3) state = 'IFLLADDR' elif state == 'IFLLADDR': self.lladdr = re.match("^\s+lladdr:\s+(.*)", @@ -169,7 +169,7 @@ class ShowInterface(object): state = 'RAOPTIONS' elif state == 'ADDRESS_PROPOSAL': is_id = re.match("^\s+id:\s+(\d+), " - + "state:\s+(.+), privacy: (.+)", line) + + "state:\s+(.+), temporary: (.+)", line) is_defrouter = re.match("\s+Default router " + "proposals", line) if is_id: @@ -178,7 +178,7 @@ class ShowInterface(object): addr_proposal) addr_proposal['id'] = is_id.group(1) addr_proposal['state'] = is_id.group(2) - addr_proposal['privacy'] = \ + addr_proposal['temporary'] = \ is_id.group(3) state = 'ADDRESS_PROPOSAL_LIFETIME' elif is_defrouter: |