summaryrefslogtreecommitdiff
path: root/ripd
diff options
context:
space:
mode:
Diffstat (limited to 'ripd')
-rw-r--r--ripd/ChangeLog5
-rw-r--r--ripd/rip_interface.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/ripd/ChangeLog b/ripd/ChangeLog
index edb504aa..132fd43a 100644
--- a/ripd/ChangeLog
+++ b/ripd/ChangeLog
@@ -1,3 +1,8 @@
+2005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
+
+ * rip_interface.c: (rip_interface_delete) After deleting, set
+ ifp->ifindex to IFINDEX_INTERNAL.
+
2005-02-04 Paul Jakma <paul@dishone.st>
* ripd.c: Untangle the construction of RIP auth data.
diff --git a/ripd/rip_interface.c b/ripd/rip_interface.c
index 0a01d8b5..f58fb337 100644
--- a/ripd/rip_interface.c
+++ b/ripd/rip_interface.c
@@ -598,6 +598,7 @@ rip_interface_delete (int command, struct zclient *zclient,
/* To support pseudo interface do not free interface structure. */
/* if_delete(ifp); */
+ ifp->ifindex = IFINDEX_INTERNAL;
return 0;
}