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.
diff --git a/lib/zclient.c b/lib/zclient.c
index f6be513..bb7747f 100644
--- a/lib/zclient.c
+++ b/lib/zclient.c
@@ -555,7 +555,10 @@
 
   /* If such interface does not exist, make new one. */
   if (! ifp)
-    ifp = if_create (ifname_tmp, IFNAMSIZ);
+    {
+      ifp = if_create ();
+      strncpy (ifp->name, ifname_tmp, IFNAMSIZ);
+    }
 
   /* Read interface's index. */
   ifp->ifindex = stream_getl (s);