2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-05 09:05:40 +00:00

#ifdef PF_ROUTE

This commit is contained in:
Mark Andrews
2014-02-07 20:36:48 +11:00
parent c922131320
commit 6a47daef7e

View File

@@ -2478,8 +2478,10 @@ opensocket(isc__socketmgr_t *manager, isc__socket_t *sock,
break;
case isc_sockettype_raw:
sock->fd = socket(sock->pf, SOCK_RAW, 0);
#ifdef PF_ROUTE
if (sock->pf == PF_ROUTE)
sock->bound = 1;
#endif
break;
case isc_sockettype_fdwatch:
/*