diff options
author | Florian Obser <florian@cvs.openbsd.org> | 2017-01-14 17:32:17 +0000 |
---|---|---|
committer | Florian Obser <florian@cvs.openbsd.org> | 2017-01-14 17:32:17 +0000 |
commit | b5ac09cb2a627f33cdd269612f43ed748f8579d2 (patch) | |
tree | 7d4efa7afda0815c882b720b47cc8b58581fd45b /regress/sys/net | |
parent | fda05cd4a2dcc0c072dd28376b9005e2dce81de9 (diff) |
It's not longer a syntax error to provide a flowdst without a port
number. Drop argument altogether to provoke a syntax error.
Diffstat (limited to 'regress/sys/net')
-rw-r--r-- | regress/sys/net/pflow/ifconfig.ok | 2 | ||||
-rw-r--r-- | regress/sys/net/pflow/ifconfig.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/regress/sys/net/pflow/ifconfig.ok b/regress/sys/net/pflow/ifconfig.ok index 2d39a201e21..4922cf7e28b 100644 --- a/regress/sys/net/pflow/ifconfig.ok +++ b/regress/sys/net/pflow/ifconfig.ok @@ -3,7 +3,7 @@ pflow0: flags=1<UP> mtu 1492 pflow: receiver: INVALID:INVALID version: 5 groups: pflow #### flowdst syntax error -ifconfig: 127.0.0.1 bad value +ifconfig: 'flowdst' requires argument pflow0: flags=1<UP> mtu 1492 pflow: receiver: INVALID:INVALID version: 5 groups: pflow diff --git a/regress/sys/net/pflow/ifconfig.sh b/regress/sys/net/pflow/ifconfig.sh index b844e66a381..14660ab6b6e 100644 --- a/regress/sys/net/pflow/ifconfig.sh +++ b/regress/sys/net/pflow/ifconfig.sh @@ -3,7 +3,7 @@ echo '#### up' ifconfig pflow0 up; ifconfig pflow0 | grep -v '^[[:space:]]index' echo '#### flowdst syntax error' -ifconfig pflow0 flowdst 127.0.0.1; ifconfig pflow0 | grep -v '^[[:space:]]index' +ifconfig pflow0 flowdst; ifconfig pflow0 | grep -v '^[[:space:]]index' echo '#### invalid flowdst port' ifconfig pflow0 flowdst 127.0.0.1:0; ifconfig pflow0 | grep -v \ '^[[:space:]]index' |