diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-07-09 06:12:10 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-07-09 06:12:10 +0000 |
commit | d859b3113f9ac4086ff5730e10ba567f9710b6d6 (patch) | |
tree | b0afc6d30554cc5f168b33751caec02aa0cf8607 /sbin/ifconfig | |
parent | 76572f37fdc4ba2911a293fc2569c1973c60cb92 (diff) |
indent
Diffstat (limited to 'sbin/ifconfig')
-rw-r--r-- | sbin/ifconfig/ifconfig.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c index b23c62a9974..52122d3baad 100644 --- a/sbin/ifconfig/ifconfig.c +++ b/sbin/ifconfig/ifconfig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ifconfig.c,v 1.17 1998/07/07 07:26:15 deraadt Exp $ */ +/* $OpenBSD: ifconfig.c,v 1.18 1998/07/09 06:12:09 deraadt Exp $ */ /* $NetBSD: ifconfig.c,v 1.40 1997/10/01 02:19:43 enami Exp $ */ /* @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)ifconfig.c 8.2 (Berkeley) 2/16/94"; #else -static char rcsid[] = "$OpenBSD: ifconfig.c,v 1.17 1998/07/07 07:26:15 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: ifconfig.c,v 1.18 1998/07/09 06:12:09 deraadt Exp $"; #endif #endif /* not lint */ @@ -399,9 +399,8 @@ printif(ifrm, ifaliases) for (i = 0; i < ifc.ifc_len; ) { ifrp = (struct ifreq *)((caddr_t)ifc.ifc_req + i); i += sizeof(ifrp->ifr_name) + - (ifrp->ifr_addr.sa_len > sizeof(struct sockaddr) - ? ifrp->ifr_addr.sa_len - : sizeof(struct sockaddr)); + (ifrp->ifr_addr.sa_len > sizeof(struct sockaddr) ? + ifrp->ifr_addr.sa_len : sizeof(struct sockaddr)); if (ifrm && strncmp(ifrm->ifr_name, ifrp->ifr_name, sizeof(ifrp->ifr_name))) |