summaryrefslogtreecommitdiffstats
path: root/sdpd/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'sdpd/main.c')
-rw-r--r--sdpd/main.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sdpd/main.c b/sdpd/main.c
index 856c6cb3..0abc8088 100644
--- a/sdpd/main.c
+++ b/sdpd/main.c
@@ -68,7 +68,6 @@ static struct option main_options[] = {
{ "help", 0, 0, 'h' },
{ "nodaemon", 0, 0, 'n' },
{ "mtu", 1, 0, 'm' },
- { "public", 0, 0, 'p' },
{ "master", 0, 0, 'M' },
{ 0, 0, 0, 0}
};
@@ -80,7 +79,7 @@ int main(int argc, char *argv[])
uint32_t flags = SDP_SERVER_COMPAT;
int opt, daemonize = 1, debug = 0;
- while ((opt = getopt_long(argc, argv, "ndm:pM", main_options, NULL)) != -1) {
+ while ((opt = getopt_long(argc, argv, "ndm:M", main_options, NULL)) != -1) {
switch (opt) {
case 'n':
daemonize = 0;
@@ -94,10 +93,6 @@ int main(int argc, char *argv[])
mtu = atoi(optarg);
break;
- case 'p':
- flags |= SDP_SERVER_PUBLIC;
- break;
-
case 'M':
flags |= SDP_SERVER_MASTER;
break;