summaryrefslogtreecommitdiffstats
path: root/hcid/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'hcid/main.c')
-rw-r--r--hcid/main.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/hcid/main.c b/hcid/main.c
index 76db9361..0c9bd7ef 100644
--- a/hcid/main.c
+++ b/hcid/main.c
@@ -770,7 +770,7 @@ int main(int argc, char *argv[])
struct sigaction sa;
GIOChannel *ctl_io, *child_io;
uint16_t mtu = 0;
- int opt, daemonize = 1, debug = 0, experimental = 0;
+ int opt, daemonize = 1, debug = 0, sdp = 1, experimental = 0;
/* Default HCId settings */
memset(&hcid, 0, sizeof(hcid));
@@ -788,7 +788,7 @@ int main(int argc, char *argv[])
init_defaults();
- while ((opt = getopt(argc, argv, "ndm:xf:")) != EOF) {
+ while ((opt = getopt(argc, argv, "ndsm:xf:")) != EOF) {
switch (opt) {
case 'n':
daemonize = 0;
@@ -798,6 +798,10 @@ int main(int argc, char *argv[])
debug = 1;
break;
+ case 's':
+ sdp = 1;
+ break;
+
case 'm':
mtu = atoi(optarg);
break;