summaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2013-10-31 18:10:22 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2013-10-31 18:10:22 +0000
commit2d3d35a0136aa1d3a7276be1a3b4b616229a9263 (patch)
treed0304c95bc4797e36d92e6345b28b52683689ccc /sys/netinet
parent983f52fc2855629253e17f9d97d7f7a5883e8073 (diff)
Convert the route expire timestamp in kernel and routing message
to 64 bit. Increase the routing message version from 4 to 5. Add a small compatibility layer that allows to set routes with old user land and new kernel. Old kernel with new user land does not work. The compatibility layer ist not perfect, but it allows to configure addresses with old ifconfig and new kernel. Route get also works in this setup. dhclient hangs as messages for interface address changes with old version are not generated. OK claudio@
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/if_ether.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c
index c37a079de2d..db35ff46051 100644
--- a/sys/netinet/if_ether.c
+++ b/sys/netinet/if_ether.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ether.c,v 1.109 2013/10/28 12:33:32 mpi Exp $ */
+/* $OpenBSD: if_ether.c,v 1.110 2013/10/31 18:10:21 bluhm Exp $ */
/* $NetBSD: if_ether.c,v 1.31 1996/05/11 12:59:58 mycroft Exp $ */
/*
@@ -1104,7 +1104,7 @@ db_show_radix_node(struct radix_node *rn, void *w, u_int id)
db_printf("rtentry=%p", rt);
- db_printf(" flags=0x%x refcnt=%d use=%llu expire=%u rtableid %u\n",
+ db_printf(" flags=0x%x refcnt=%d use=%llu expire=%lld rtableid=%u\n",
rt->rt_flags, rt->rt_refcnt, rt->rt_use, rt->rt_expire, id);
db_printf(" key="); db_print_sa(rt_key(rt));