View | Details | Raw Unified | Return to bug 24610
Collapse All | Expand All

(-)usr.sbin/inetd/inetd.c (-3 / +3 lines)
Lines 310-316 Link Here
310
			options |= SO_DEBUG;
310
			options |= SO_DEBUG;
311
			break;
311
			break;
312
		case 'l':
312
		case 'l':
313
			log = 1;
313
			log++;
314
			break;
314
			break;
315
		case 'R':
315
		case 'R':
316
			getvalue(optarg, &toomany,
316
			getvalue(optarg, &toomany,
Lines 566-572 Link Here
566
						  peer.sa_len,
566
						  peer.sa_len,
567
						  pname, sizeof(pname),
567
						  pname, sizeof(pname),
568
						  NULL, 0, 
568
						  NULL, 0, 
569
						  NI_NUMERICHOST|
569
						  (log > 1 ? 0 : NI_NUMERICHOST) |
570
						  NI_WITHSCOPEID);
570
						  NI_WITHSCOPEID);
571
				      pnm = pname;
571
				      pnm = pname;
572
				    }
572
				    }
Lines 575-581 Link Here
575
						peer.sa_len,
575
						peer.sa_len,
576
						pname, sizeof(pname),
576
						pname, sizeof(pname),
577
						NULL, 0, 
577
						NULL, 0, 
578
						NI_NUMERICHOST|
578
						(log > 1 ? 0 : NI_NUMERICHOST) |
579
						NI_WITHSCOPEID);
579
						NI_WITHSCOPEID);
580
				    pnm = pname;
580
				    pnm = pname;
581
			    }
581
			    }
(-)usr.sbin/inetd/inetd.8 (-1 / +3 lines)
Lines 79-85 Link Here
79
.It Fl d
79
.It Fl d
80
Turn on debugging.
80
Turn on debugging.
81
.It Fl l
81
.It Fl l
82
Turn on logging of successful connections.
82
Turn on logging of successful connections. If specified twice,
83
the address is converted into a name which could result in a
84
(possibly time consuming) DNS lookup.
83
.It Fl w
85
.It Fl w
84
Turn on TCP Wrapping for external services.
86
Turn on TCP Wrapping for external services.
85
See the
87
See the

Return to bug 24610