summaryrefslogtreecommitdiffstats
path: root/isisd
diff options
context:
space:
mode:
authorajs <ajs>2005-04-03 01:09:52 +0200
committerajs <ajs>2005-04-03 01:09:52 +0200
commitbd88bf499a02e3364b06ad269bd7009a0227f91b (patch)
tree1d6ab75ab800fb2329604ec721f7c95f50752eb4 /isisd
parent2005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu> (diff)
downloadfrr-bd88bf499a02e3364b06ad269bd7009a0227f91b.tar.xz
frr-bd88bf499a02e3364b06ad269bd7009a0227f91b.zip
2005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* isis_zebra.c: (isis_zebra_if_del) Must use if_lookup_by_name_len.
Diffstat (limited to 'isisd')
-rw-r--r--isisd/ChangeLog4
-rw-r--r--isisd/isis_zebra.c5
2 files changed, 7 insertions, 2 deletions
diff --git a/isisd/ChangeLog b/isisd/ChangeLog
index f33390168..3bc94ccfe 100644
--- a/isisd/ChangeLog
+++ b/isisd/ChangeLog
@@ -1,3 +1,7 @@
+2005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
+
+ * isis_zebra.c: (isis_zebra_if_del) Must use if_lookup_by_name_len.
+
2005-04-02 Hasso Tepper <hasso at quagga.net>
* Makefile.am: Variables to handle conditonal compiling of topology
diff --git a/isisd/isis_zebra.c b/isisd/isis_zebra.c
index 0f8d11623..4690fe311 100644
--- a/isisd/isis_zebra.c
+++ b/isisd/isis_zebra.c
@@ -110,13 +110,14 @@ isis_zebra_if_del (int command, struct zclient *zclient, zebra_size_t length)
static struct interface *
zebra_interface_if_lookup (struct stream *s)
{
- u_char ifname_tmp[INTERFACE_NAMSIZ];
+ char ifname_tmp[INTERFACE_NAMSIZ];
/* Read interface name. */
stream_get (ifname_tmp, s, INTERFACE_NAMSIZ);
/* And look it up. */
- return if_lookup_by_name ((char *) ifname_tmp);
+ return if_lookup_by_name_len(ifname_tmp,
+ strnlen(ifname_tmp, INTERFACE_NAMSIZ));
}
static int