From 11967e92542b782ccd8d800938a2845b816539ce Mon Sep 17 00:00:00 2001 From: paul Date: Thu, 3 Nov 2005 13:09:10 +0000 Subject: - bah, fix likkle typo. --- zebra/if_ioctl_solaris.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zebra') 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)); -- cgit v1.2.1