summaryrefslogtreecommitdiff
path: root/zebra
diff options
context:
space:
mode:
authorpaul <paul>2003-06-06 23:24:55 +0000
committerpaul <paul>2003-06-06 23:24:55 +0000
commit592c8148981d196a7bda2f1b85a63943fd0cfdf2 (patch)
tree273fd4151921ffbb91cc42535083ff7e1bf04bdb /zebra
parentbf9392c6e932080156e70c0436977fd5dbcdb0cd (diff)
2003-06-07 Paul Jakma <paul@dishone.st>
* Revert Cougar's sort interface names patch, causes problems with enabling of interfaces for OSPF in ospfd.
Diffstat (limited to 'zebra')
-rw-r--r--zebra/kernel_socket.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/zebra/kernel_socket.c b/zebra/kernel_socket.c
index ccf8515f..30e0fb1d 100644
--- a/zebra/kernel_socket.c
+++ b/zebra/kernel_socket.c
@@ -218,8 +218,9 @@ ifm_read (struct if_msghdr *ifm)
return -1;
}
- ifp = if_create (sdl->sdl_data, sdl->sdl_nlen);
+ ifp = if_create ();
+ strncpy (ifp->name, sdl->sdl_data, sdl->sdl_nlen);
ifp->ifindex = ifm->ifm_index;
ifp->flags = ifm->ifm_flags;
#if defined(__bsdi__)