Blob Blame History Raw
commit 718ab7ebcf913051f901939b8ae4c7ae67ffcafe
Author: Ulrich Drepper <drepper@redhat.com>
Date:   Fri Jun 27 14:31:20 2008 -0400

    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>

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 */