diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2012-11-07 14:47:31 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2012-11-07 14:47:31 +0000 |
commit | 5be0d680c3df422fa89a543badcf4ec48c9f17ec (patch) | |
tree | 0d6d1558fe132dd3102a2cfa6131c8b87c6b78ce /sbin | |
parent | e2ec6002cf4516c92c4eedeeedb609ba27431482 (diff) |
Kill some annoying extra spaces. No code change.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/dhclient/kroute.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/dhclient/kroute.c b/sbin/dhclient/kroute.c index 31ceb144a7a..103128ad412 100644 --- a/sbin/dhclient/kroute.c +++ b/sbin/dhclient/kroute.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kroute.c,v 1.8 2012/11/05 03:49:16 krw Exp $ */ +/* $OpenBSD: kroute.c,v 1.9 2012/11/07 14:47:30 krw Exp $ */ /* * Copyright 2012 Kenneth R Westerback <krw@openbsd.org> @@ -419,7 +419,7 @@ priv_delete_old_address(char *ifname, int rdomain, struct iaddr addr) bzero(&ifaliasreq, sizeof(ifaliasreq)); strncpy(ifaliasreq.ifra_name, ifname, sizeof(ifaliasreq.ifra_name)); - in = (struct sockaddr_in *) &ifaliasreq.ifra_addr; + in = (struct sockaddr_in *)&ifaliasreq.ifra_addr; in->sin_family = AF_INET; in->sin_len = sizeof(ifaliasreq.ifra_addr); @@ -563,14 +563,14 @@ priv_add_new_address(char *ifname, int rdomain, struct iaddr addr, strncpy(ifaliasreq.ifra_name, ifname, sizeof(ifaliasreq.ifra_name)); /* The actual address in ifra_addr. */ - in = (struct sockaddr_in *) &ifaliasreq.ifra_addr; + in = (struct sockaddr_in *)&ifaliasreq.ifra_addr; in->sin_family = AF_INET; in->sin_len = sizeof(ifaliasreq.ifra_addr); bozo = inet_addr(piaddr(addr)); bcopy(&bozo, &in->sin_addr.s_addr, sizeof(bozo)); /* And the netmask in ifra_mask. */ - in = (struct sockaddr_in *) &ifaliasreq.ifra_mask; + in = (struct sockaddr_in *)&ifaliasreq.ifra_mask; in->sin_family = AF_INET; in->sin_len = sizeof(ifaliasreq.ifra_mask); bcopy(&mask, &in->sin_addr.s_addr, sizeof(mask)); |