mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-30 05:47:45 +00:00
Add an else clause to avoid redundant test
This commit is contained in:
parent
cbecf9cd78
commit
fcc09faa7c
@ -109,7 +109,7 @@ void discover_interfaces ()
|
||||
LLADDR (foo), foo -> sdl_alen);
|
||||
lp -> next = interface_links;
|
||||
interface_links = lp;
|
||||
}
|
||||
} else
|
||||
#endif /* AF_LINK */
|
||||
|
||||
if (ifp -> ifr_addr.sa_family == AF_INET) {
|
||||
|
@ -109,7 +109,7 @@ void discover_interfaces ()
|
||||
LLADDR (foo), foo -> sdl_alen);
|
||||
lp -> next = interface_links;
|
||||
interface_links = lp;
|
||||
}
|
||||
} else
|
||||
#endif /* AF_LINK */
|
||||
|
||||
if (ifp -> ifr_addr.sa_family == AF_INET) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user