Specify the default MTU size for routes to loopback.
authormpi <mpi@openbsd.org>
Tue, 27 Jan 2015 10:16:22 +0000 (10:16 +0000)
committermpi <mpi@openbsd.org>
Tue, 27 Jan 2015 10:16:22 +0000 (10:16 +0000)
Tests are currently failing, to be fixed soon.

regress/sbin/route/rttest14.ok
regress/sbin/route/rttest16.ok

index d46adfe..9505400 100644 (file)
@@ -4,20 +4,20 @@ 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     -     4 lo10002
-fd88::1                            fd88::1                        UHl        0        0     -     1 lo10002
+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     -     4 lo10003
-fd99::1                            fd99::1                        UHl        1        0     -     1 lo10003
-fe80::%lo10001/64                  fe80::1%lo10001                U          0        0     -     4 lo10001
-fe80::1%lo10001                    fe80::1%lo10001                UHl        0        0     -     1 lo10001
-fe80::%lo10002/64                  fe80::1%lo10002                U          0        0     -     4 lo10002
-fe80::1%lo10002                    fe80::1%lo10002                UHl        0        0     -     1 lo10002
-fe80::%lo10003/64                  fe80::1%lo10003                U          0        0     -     4 lo10003
-fe80::1%lo10003                    fe80::1%lo10003                UHl        0        0     -     1 lo10003
-ff01::%lo10001/32                  fe80::1%lo10001                UC         0        0     -     4 lo10001
-ff01::%lo10002/32                  fe80::1%lo10002                UC         0        0     -     4 lo10002
-ff01::%lo10003/32                  fe80::1%lo10003                UC         0        0     -     4 lo10003
-ff02::%lo10001/32                  fe80::1%lo10001                UC         0        0     -     4 lo10001
-ff02::%lo10002/32                  fe80::1%lo10002                UC         0        0     -     4 lo10002
-ff02::%lo10003/32                  fe80::1%lo10003                UC         0        0     -     4 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
+fe80::%lo10002/64                  fe80::1%lo10002                U          0        0 32768     4 lo10002
+fe80::1%lo10002                    fe80::1%lo10002                UHl        0        0 32768     1 lo10002
+fe80::%lo10003/64                  fe80::1%lo10003                U          0        0 32768     4 lo10003
+fe80::1%lo10003                    fe80::1%lo10003                UHl        0        0 32768     1 lo10003
+ff01::%lo10001/32                  fe80::1%lo10001                UC         0        0 32768     4 lo10001
+ff01::%lo10002/32                  fe80::1%lo10002                UC         0        0 32768     4 lo10002
+ff01::%lo10003/32                  fe80::1%lo10003                UC         0        0 32768     4 lo10003
+ff02::%lo10001/32                  fe80::1%lo10001                UC         0        0 32768     4 lo10001
+ff02::%lo10002/32                  fe80::1%lo10002                UC         0        0 32768     4 lo10002
+ff02::%lo10003/32                  fe80::1%lo10003                UC         0        0 32768     4 lo10003
index 434b70f..1a93889 100644 (file)
@@ -4,20 +4,20 @@ 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     -     4 lo10002
-fd88::1                            fd88::1                        UHl        0        0     -     1 lo10002
-fd88::666                          fd99::1                        UGHS       0        0     -     8 lo10002
-fd99::/64                          fe80::1%lo10003                U          0        0     -     4 lo10003
-fd99::1                            fd99::1                        UHl        1        0     -     1 lo10003
-fe80::%lo10001/64                  fe80::1%lo10001                U          0        0     -     4 lo10001
-fe80::1%lo10001                    fe80::1%lo10001                UHl        0        0     -     1 lo10001
-fe80::%lo10002/64                  fe80::1%lo10002                U          0        0     -     4 lo10002
-fe80::1%lo10002                    fe80::1%lo10002                UHl        0        0     -     1 lo10002
-fe80::%lo10003/64                  fe80::1%lo10003                U          0        0     -     4 lo10003
-fe80::1%lo10003                    fe80::1%lo10003                UHl        0        0     -     1 lo10003
-ff01::%lo10001/32                  fe80::1%lo10001                UC         0        0     -     4 lo10001
-ff01::%lo10002/32                  fe80::1%lo10002                UC         0        0     -     4 lo10002
-ff01::%lo10003/32                  fe80::1%lo10003                UC         0        0     -     4 lo10003
-ff02::%lo10001/32                  fe80::1%lo10001                UC         0        0     -     4 lo10001
-ff02::%lo10002/32                  fe80::1%lo10002                UC         0        0     -     4 lo10002
-ff02::%lo10003/32                  fe80::1%lo10003                UC         0        0     -     4 lo10003
+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
+fe80::%lo10002/64                  fe80::1%lo10002                U          0        0 32768     4 lo10002
+fe80::1%lo10002                    fe80::1%lo10002                UHl        0        0 32768     1 lo10002
+fe80::%lo10003/64                  fe80::1%lo10003                U          0        0 32768     4 lo10003
+fe80::1%lo10003                    fe80::1%lo10003                UHl        0        0 32768     1 lo10003
+ff01::%lo10001/32                  fe80::1%lo10001                UC         0        0 32768     4 lo10001
+ff01::%lo10002/32                  fe80::1%lo10002                UC         0        0 32768     4 lo10002
+ff01::%lo10003/32                  fe80::1%lo10003                UC         0        0 32768     4 lo10003
+ff02::%lo10001/32                  fe80::1%lo10001                UC         0        0 32768     4 lo10001
+ff02::%lo10002/32                  fe80::1%lo10002                UC         0        0 32768     4 lo10002
+ff02::%lo10003/32                  fe80::1%lo10003                UC         0        0 32768     4 lo10003