summaryrefslogtreecommitdiffstats
path: root/usr.sbin/dvmrpd/dvmrp.h
diff options
context:
space:
mode:
authormichele <michele@openbsd.org>2009-03-14 15:32:55 +0000
committermichele <michele@openbsd.org>2009-03-14 15:32:55 +0000
commitbb0716482a0f61c01572f29b8d49909722d70e10 (patch)
treefc2bfcd63b053f27ba6911f31d52a4c77ae22f9a /usr.sbin/dvmrpd/dvmrp.h
parentThere should only be one ::1 and one 127.0.0.1 entry in the hosts (diff)
downloadwireguard-openbsd-bb0716482a0f61c01572f29b8d49909722d70e10.tar.xz
wireguard-openbsd-bb0716482a0f61c01572f29b8d49909722d70e10.zip
Initial support for pruning. When every single interface is removed from the
downstream list for a particular source send a prune to the upstream router. input and ok claudio@
Diffstat (limited to 'usr.sbin/dvmrpd/dvmrp.h')
-rw-r--r--usr.sbin/dvmrpd/dvmrp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/dvmrpd/dvmrp.h b/usr.sbin/dvmrpd/dvmrp.h
index b043e30644e..cae149187da 100644
--- a/usr.sbin/dvmrpd/dvmrp.h
+++ b/usr.sbin/dvmrpd/dvmrp.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dvmrp.h,v 1.2 2009/01/27 08:53:47 michele Exp $ */
+/* $OpenBSD: dvmrp.h,v 1.3 2009/03/14 15:32:55 michele Exp $ */
/*
* Copyright (c) 2005, 2006 Esben Norby <norby@openbsd.org>
@@ -101,6 +101,7 @@ struct prune_hdr {
u_int32_t lifetime;
u_int32_t src_netmask;
};
+#define PRUNE_MIN_LEN 12
/* Graft and Graft Ack header */
struct graft_hdr {