remove accumulated stray trailing whitespace
This commit is contained in:
@@ -138,7 +138,7 @@ uint32_t find_address(int check_expired)
|
||||
|
||||
/* no lease or it expired and we are checking for expired leases */
|
||||
if ((!lease || (check_expired && lease_expired(lease)))
|
||||
&& nobody_responds_to_arp(ret) /* it isn't used on the network */
|
||||
&& nobody_responds_to_arp(ret) /* it isn't used on the network */
|
||||
) {
|
||||
return ret;
|
||||
}
|
||||
|
@@ -53,7 +53,7 @@ int read_interface(const char *interface, int *ifindex, uint32_t *addr, uint8_t
|
||||
ifr.ifr_addr.sa_family = AF_INET;
|
||||
strncpy(ifr.ifr_name, interface, sizeof(ifr.ifr_name));
|
||||
if (addr) {
|
||||
if (ioctl_or_perror(fd, SIOCGIFADDR, &ifr,
|
||||
if (ioctl_or_perror(fd, SIOCGIFADDR, &ifr,
|
||||
"is interface %s up and configured?", interface)
|
||||
) {
|
||||
close(fd);
|
||||
|
Reference in New Issue
Block a user