summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--man/rpcbind.84
-rw-r--r--src/rpcbind.c2
2 files changed, 1 insertions, 5 deletions
diff --git a/man/rpcbind.8 b/man/rpcbind.8
index 7985f0f..32806d4 100644
--- a/man/rpcbind.8
+++ b/man/rpcbind.8
@@ -115,10 +115,6 @@ accepts these requests only from the loopback interface for security reasons.
This change is necessary for programs that were compiled with earlier
versions of the rpc library and do not make those requests using the
loopback interface.
-.It Fl L
-Allow old-style local connections over the loopback interface.
-Without this flag, local connections are only allowed over a local socket,
-.Pa /var/run/rpcbind.sock .
.It Fl l
Turn on libwrap connection logging.
.It Fl s
diff --git a/src/rpcbind.c b/src/rpcbind.c
index 550fefd..5e7e744 100644
--- a/src/rpcbind.c
+++ b/src/rpcbind.c
@@ -739,7 +739,7 @@ parseargs(int argc, char *argv[])
{
int c;
oldstyle_local = 1;
- while ((c = getopt(argc, argv, "dwah:ilLs")) != -1) {
+ while ((c = getopt(argc, argv, "dwah:ils")) != -1) {
switch (c) {
case 'a':
doabort = 1; /* when debugging, do an abort on */