mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 05:57:52 +00:00
getnetbyaddr(in_addr_t, ...)
This commit is contained in:
parent
7d86ce8dfc
commit
f85f9cb03d
@ -12,6 +12,18 @@ getnetbyname(const char *name) {
|
||||
return (NULL);
|
||||
}
|
||||
|
||||
#ifdef ISC_LWRES_GETNETBYADDRINADDR
|
||||
struct netent *
|
||||
getnetbyaddr(in_addr_t net, int type) {
|
||||
|
||||
if (type == AF_INET)
|
||||
return (NULL);
|
||||
|
||||
/* XXX */
|
||||
UNUSED(net);
|
||||
return (NULL);
|
||||
}
|
||||
#else
|
||||
struct netent *
|
||||
getnetbyaddr(unsigned long net, int type) {
|
||||
|
||||
@ -22,6 +34,7 @@ getnetbyaddr(unsigned long net, int type) {
|
||||
UNUSED(net);
|
||||
return (NULL);
|
||||
}
|
||||
#endif
|
||||
|
||||
struct netent *
|
||||
getnetent() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user