2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 14:25:41 +00:00

Add an else clause to avoid redundant test

This commit is contained in:
Ted Lemon
1996-05-16 23:07:36 +00:00
parent cbecf9cd78
commit fcc09faa7c
2 changed files with 2 additions and 2 deletions

View File

@@ -109,7 +109,7 @@ void discover_interfaces ()
LLADDR (foo), foo -> sdl_alen); LLADDR (foo), foo -> sdl_alen);
lp -> next = interface_links; lp -> next = interface_links;
interface_links = lp; interface_links = lp;
} } else
#endif /* AF_LINK */ #endif /* AF_LINK */
if (ifp -> ifr_addr.sa_family == AF_INET) { if (ifp -> ifr_addr.sa_family == AF_INET) {

View File

@@ -109,7 +109,7 @@ void discover_interfaces ()
LLADDR (foo), foo -> sdl_alen); LLADDR (foo), foo -> sdl_alen);
lp -> next = interface_links; lp -> next = interface_links;
interface_links = lp; interface_links = lp;
} } else
#endif /* AF_LINK */ #endif /* AF_LINK */
if (ifp -> ifr_addr.sa_family == AF_INET) { if (ifp -> ifr_addr.sa_family == AF_INET) {