summaryrefslogtreecommitdiffstats
path: root/sdpd/main.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-05-22 11:43:30 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-05-22 11:43:30 +0000
commit09e129d5ef90ad61775517e752b8b9918f1a7c3e (patch)
tree10d5f0cb124ab58c658d6b0ae0f9890da58d41f0 /sdpd/main.c
parent646f2140653faca517ecd55863e15e4d9dffc4af (diff)
Minimize SDP root records and browse groups
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;