2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 06:15:55 +00:00

Don't print interface network name if there's no network structure

This commit is contained in:
Ted Lemon
1996-05-22 08:14:59 +00:00
parent f4e348de94
commit 939327b9b5
8 changed files with 36 additions and 14 deletions

View File

@@ -137,7 +137,8 @@ void if_register_send (info, interface)
print_hw_addr (info -> hw_address.htype,
info -> hw_address.hlen,
info -> hw_address.haddr),
info -> shared_network -> name);
(info -> shared_network ?
info -> shared_network -> name : "unattached"));
}
#endif /* USE_NIT_SEND */
@@ -222,7 +223,8 @@ void if_register_receive (info, interface)
print_hw_addr (info -> hw_address.htype,
info -> hw_address.hlen,
info -> hw_address.haddr),
info -> shared_network -> name);
(info -> shared_network ?
info -> shared_network -> name : "unattached"));
}
#endif /* USE_NIT_RECEIVE */