mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 14:34:22 +00:00
2005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* isis_zebra.c: (isis_zebra_if_del) Must use if_lookup_by_name_len.
This commit is contained in:
parent
018546e965
commit
bd88bf499a
@ -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>
|
2005-04-02 Hasso Tepper <hasso at quagga.net>
|
||||||
|
|
||||||
* Makefile.am: Variables to handle conditonal compiling of topology
|
* Makefile.am: Variables to handle conditonal compiling of topology
|
||||||
|
@ -110,13 +110,14 @@ isis_zebra_if_del (int command, struct zclient *zclient, zebra_size_t length)
|
|||||||
static struct interface *
|
static struct interface *
|
||||||
zebra_interface_if_lookup (struct stream *s)
|
zebra_interface_if_lookup (struct stream *s)
|
||||||
{
|
{
|
||||||
u_char ifname_tmp[INTERFACE_NAMSIZ];
|
char ifname_tmp[INTERFACE_NAMSIZ];
|
||||||
|
|
||||||
/* Read interface name. */
|
/* Read interface name. */
|
||||||
stream_get (ifname_tmp, s, INTERFACE_NAMSIZ);
|
stream_get (ifname_tmp, s, INTERFACE_NAMSIZ);
|
||||||
|
|
||||||
/* And look it up. */
|
/* 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
|
static int
|
||||||
|
Loading…
Reference in New Issue
Block a user