summaryrefslogtreecommitdiffstats
path: root/lib/if.h
diff options
context:
space:
mode:
authorDon Slice <dslice@cumulusnetworks.com>2016-03-18 20:53:15 +0100
committerDon Slice <dslice@cumulusnetworks.com>2016-03-18 20:53:15 +0100
commit84361d615deb53e559d4a43b1450339c8836f667 (patch)
treef675a20171c5762141d5e072c85d3db8257f7b0e /lib/if.h
parentospf6d: Stop sending hello's out loopback interface (diff)
downloadfrr-84361d615deb53e559d4a43b1450339c8836f667.tar.xz
frr-84361d615deb53e559d4a43b1450339c8836f667.zip
quagga: delete interface from default table when moved to vrf
All daemons changed to flag an interface that has been moved to a vrf as DELETED instead of INTERNAL. When they were flagged as IFINDEX_INTERNAL, ospf, rip, and isis would re-install them in the default assuming that they were being "pre-defined" before the kernel definitions. Ticket: CM-9265 Signed-off-by: Don Slice Reviewed-by: Donald Sharp
Diffstat (limited to 'lib/if.h')
-rw-r--r--lib/if.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/if.h b/lib/if.h
index a411e709f..a8e674765 100644
--- a/lib/if.h
+++ b/lib/if.h
@@ -84,6 +84,7 @@ struct interface
deleted interfaces). */
unsigned int ifindex;
#define IFINDEX_INTERNAL 0
+#define IFINDEX_DELETED UINT_MAX
/* Zebra internal interface status */
u_char status;