diff options
| author | Martin Blapp <mbr@FreeBSD.org> | 2004-08-16 00:20:31 +0000 |
|---|---|---|
| committer | Martin Blapp <mbr@FreeBSD.org> | 2004-08-16 00:20:31 +0000 |
| commit | 90c9edaaa4851e474b0cebbfd053ba5d62f92fa4 (patch) | |
| tree | 5532ffbfbe4bcbfaa113171ddff2767cac89e896 /usr.sbin/rpcbind | |
| parent | c5fe547333704c5297de696476a8042c36120110 (diff) | |
Notes
Diffstat (limited to 'usr.sbin/rpcbind')
| -rw-r--r-- | usr.sbin/rpcbind/rpcbind.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/rpcbind/rpcbind.c b/usr.sbin/rpcbind/rpcbind.c index 9822140eacbf..ec8dacaefd8e 100644 --- a/usr.sbin/rpcbind/rpcbind.c +++ b/usr.sbin/rpcbind/rpcbind.c @@ -274,7 +274,11 @@ init_transport(struct netconfig *nconf) */ if (nconf->nc_semantics != NC_TPI_CLTS) { if ((fd = __rpc_nconf2fd(nconf)) < 0) { - syslog(LOG_ERR, "cannot create socket for %s", + int non_fatal = 0; + + if (errno == EPROTONOSUPPORT) + non_fatal = 1; + syslog(non_fatal?LOG_DEBUG:LOG_ERR, "cannot create socket for %s", nconf->nc_netid); return (1); } |
