summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2008-06-27 14:31:20 -0400
committerSteve Dickson <steved@redhat.com>2008-06-27 14:31:20 -0400
commit718ab7ebcf913051f901939b8ae4c7ae67ffcafe (patch)
treed9fab30c838f8554ed40da1f71128197d04691ba
parent77f7556878d1fe03dc3e285c97dd822db38f618c (diff)
downloadrpcbind-718ab7ebcf913051f901939b8ae4c7ae67ffcafe.tar.gz
Removed the documentation about the non-existent '-L' flag
Signed-off-by: Ulrich Drepper <drepper@redhat.com> Signed-off-by: Steve Dickson <steved@redhat.com>
-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 */