summaryrefslogtreecommitdiff
path: root/regress/sbin/route
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2015-04-17 07:46:11 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2015-04-17 07:46:11 +0000
commitc70c93731e62133b902b8e7884d5d31c8119a381 (patch)
tree64152f98cf249d1692cdfd5f22942645ae698d35 /regress/sbin/route
parent5155cf154776a88b386993c04da16730e88bbffd (diff)
Match -current output. Every configured address should have a local route
and remove redundant loopback cloning route. Note that tests using IPv6 still contain two routes to "::1" this should cause no harm but is being investigated.
Diffstat (limited to 'regress/sbin/route')
-rw-r--r--regress/sbin/route/rttest14.ok2
-rw-r--r--regress/sbin/route/rttest16.ok2
-rw-r--r--regress/sbin/route/rttest17.ok4
3 files changed, 4 insertions, 4 deletions
diff --git a/regress/sbin/route/rttest14.ok b/regress/sbin/route/rttest14.ok
index 950540013f7..e487b046e91 100644
--- a/regress/sbin/route/rttest14.ok
+++ b/regress/sbin/route/rttest14.ok
@@ -4,10 +4,8 @@ Internet6:
Destination Gateway Flags Refs Use Mtu Prio Iface
::1 ::1 UHl 0 0 32768 1 lo10001
::1 ::1 UH 0 0 32768 4 lo10001
-fd88::/64 fe80::1%lo10002 U 0 0 32768 4 lo10002
fd88::1 fd88::1 UHl 0 0 32768 1 lo10002
fd88::666 fd99::1 UGHS 0 0 1500 8 lo10003
-fd99::/64 fe80::1%lo10003 U 0 0 32768 4 lo10003
fd99::1 fd99::1 UHl 1 0 32768 1 lo10003
fe80::%lo10001/64 fe80::1%lo10001 U 0 0 32768 4 lo10001
fe80::1%lo10001 fe80::1%lo10001 UHl 0 0 32768 1 lo10001
diff --git a/regress/sbin/route/rttest16.ok b/regress/sbin/route/rttest16.ok
index 1a938894f46..9eab945d0e4 100644
--- a/regress/sbin/route/rttest16.ok
+++ b/regress/sbin/route/rttest16.ok
@@ -4,10 +4,8 @@ Internet6:
Destination Gateway Flags Refs Use Mtu Prio Iface
::1 ::1 UHl 0 0 32768 1 lo10001
::1 ::1 UH 0 0 32768 4 lo10001
-fd88::/64 fe80::1%lo10002 U 0 0 32768 4 lo10002
fd88::1 fd88::1 UHl 0 0 32768 1 lo10002
fd88::666 fd99::1 UGHS 0 0 32768 8 lo10002
-fd99::/64 fe80::1%lo10003 U 0 0 32768 4 lo10003
fd99::1 fd99::1 UHl 1 0 32768 1 lo10003
fe80::%lo10001/64 fe80::1%lo10001 U 0 0 32768 4 lo10001
fe80::1%lo10001 fe80::1%lo10001 UHl 0 0 32768 1 lo10001
diff --git a/regress/sbin/route/rttest17.ok b/regress/sbin/route/rttest17.ok
index e6feaeb9f81..fabfd37178e 100644
--- a/regress/sbin/route/rttest17.ok
+++ b/regress/sbin/route/rttest17.ok
@@ -3,3 +3,7 @@ Routing tables
Internet:
Destination Gateway Flags Refs Use Mtu Prio Iface
10.8.1/24 192.0.2.4 UGS 0 0 32768 8 lo10004
+192.0.2.1 192.0.2.1 UHl 0 0 32768 1 lo10001
+192.0.2.2 192.0.2.2 UHl 0 0 32768 1 lo10002
+192.0.2.3 192.0.2.3 UHl 0 0 32768 1 lo10003
+192.0.2.4 192.0.2.4 UHl 1 0 32768 1 lo10004