diff --git a/common/dispatch.c b/common/dispatch.c index e7a84367..154e115f 100644 --- a/common/dispatch.c +++ b/common/dispatch.c @@ -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) { diff --git a/dispatch.c b/dispatch.c index e7a84367..154e115f 100644 --- a/dispatch.c +++ b/dispatch.c @@ -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) {