diff options
| author | Ryan Stone <rstone@FreeBSD.org> | 2015-01-19 00:33:32 +0000 |
|---|---|---|
| committer | Ryan Stone <rstone@FreeBSD.org> | 2015-01-19 00:33:32 +0000 |
| commit | 9745de4c2c78da747da5ddcb58b941cef9599132 (patch) | |
| tree | a7a15ce20397f238278b27cba9e47b639c604aae /usr.sbin/rpc.statd | |
| parent | 5eab7e540605a77b6d141deee5fbaf56291be23a (diff) | |
Notes
Diffstat (limited to 'usr.sbin/rpc.statd')
| -rw-r--r-- | usr.sbin/rpc.statd/statd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/rpc.statd/statd.c b/usr.sbin/rpc.statd/statd.c index ff537f84b535..faa8513ba59a 100644 --- a/usr.sbin/rpc.statd/statd.c +++ b/usr.sbin/rpc.statd/statd.c @@ -343,7 +343,6 @@ create_service(struct netconfig *nconf) /* Get rpc.statd's address on this transport */ memset(&hints, 0, sizeof hints); - hints.ai_flags = AI_PASSIVE; hints.ai_family = si.si_af; hints.ai_socktype = si.si_socktype; hints.ai_protocol = si.si_proto; @@ -359,6 +358,7 @@ create_service(struct netconfig *nconf) out_of_mem(); sock_fd[sock_fdcnt++] = -1; /* Set invalid for now. */ mallocd_res = 0; + hints.ai_flags = AI_PASSIVE; /* * XXX - using RPC library internal functions. |
