summaryrefslogtreecommitdiffstats
path: root/zebra/if_ioctl_solaris.c
diff options
context:
space:
mode:
authorpaul <paul>2005-11-03 13:09:10 +0000
committerpaul <paul>2005-11-03 13:09:10 +0000
commit568334b674778ce1a57ba6b53370609741ce3e26 (patch)
tree4cc3fd4332fd23ce58d68b80e2f7f2a1062a6209 /zebra/if_ioctl_solaris.c
parentbd960c75d16302b220b616c29293f6f965b7bcee (diff)
downloadquagga-568334b674778ce1a57ba6b53370609741ce3e26.tar.bz2
quagga-568334b674778ce1a57ba6b53370609741ce3e26.tar.xz
- bah, fix likkle typo.
Diffstat (limited to 'zebra/if_ioctl_solaris.c')
-rw-r--r--zebra/if_ioctl_solaris.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/if_ioctl_solaris.c b/zebra/if_ioctl_solaris.c
index 898c1610..a671518e 100644
--- a/zebra/if_ioctl_solaris.c
+++ b/zebra/if_ioctl_solaris.c
@@ -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));