mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +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);
|
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 *
|
struct netent *
|
||||||
getnetbyaddr(unsigned long net, int type) {
|
getnetbyaddr(unsigned long net, int type) {
|
||||||
|
|
||||||
@ -22,6 +34,7 @@ getnetbyaddr(unsigned long net, int type) {
|
|||||||
UNUSED(net);
|
UNUSED(net);
|
||||||
return (NULL);
|
return (NULL);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
struct netent *
|
struct netent *
|
||||||
getnetent() {
|
getnetent() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user