summaryrefslogtreecommitdiff
path: root/ripngd
diff options
context:
space:
mode:
Diffstat (limited to 'ripngd')
-rw-r--r--ripngd/ChangeLog5
-rw-r--r--ripngd/ripng_interface.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/ripngd/ChangeLog b/ripngd/ChangeLog
index f4b61132..7c6176c5 100644
--- a/ripngd/ChangeLog
+++ b/ripngd/ChangeLog
@@ -1,3 +1,8 @@
+2005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
+
+ * ripng_interface.c: (ripng_interface_delete) After deleting, set
+ ifp->ifindex to IFINDEX_INTERNAL.
+
2005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* ripng_interface.c: (ripng_multicast_join) Save errno before calling
diff --git a/ripngd/ripng_interface.c b/ripngd/ripng_interface.c
index 5d317ee0..477bfd7f 100644
--- a/ripngd/ripng_interface.c
+++ b/ripngd/ripng_interface.c
@@ -331,6 +331,7 @@ ripng_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;
}