From b7e886b5153008fdc406b6b7e960c99617d7b205 Mon Sep 17 00:00:00 2001 From: mpi Date: Fri, 17 Apr 2015 07:46:10 +0000 Subject: [PATCH] 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. --- regress/sbin/route/rttest14.ok | 2 -- regress/sbin/route/rttest16.ok | 2 -- regress/sbin/route/rttest17.ok | 4 ++++ 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 -- 2.20.1