]> git.puffer.fish Git - matthieu/frr.git/commitdiff
- bah, fix likkle typo.
authorpaul <paul>
Thu, 3 Nov 2005 13:09:10 +0000 (13:09 +0000)
committerpaul <paul>
Thu, 3 Nov 2005 13:09:10 +0000 (13:09 +0000)
zebra/if_ioctl_solaris.c

index 898c16109dc4bfeb0cf5ea0223b7f981db059a4d..a671518ea6fb7fad6cd5fa8e4db6ff8067284fbc 100644 (file)
@@ -245,7 +245,7 @@ if_get_addr (struct interface *ifp, struct sockaddr *addr, const char *label)
    * We need to use the logical interface name / label, if we've been
    * given one, in order to get the right address
    */
-  strncpy (lifreq.lifr_name, (label : label ? ifp->name), IFNAMSIZ);
+  strncpy (lifreq.lifr_name, (label ? label : ifp->name), IFNAMSIZ);
 
   /* Interface's address. */
   memcpy (&lifreq.lifr_addr, addr, ADDRLEN (addr));