summaryrefslogtreecommitdiffstats
path: root/dund/main.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-05-23 12:48:37 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-05-23 12:48:37 +0000
commitc880e90314f3b7a8c58c1ea19f86974a16375ad3 (patch)
treefd3c02b388ab560b4513073eb1d55a2f2f3da9e8 /dund/main.c
parentaf08011b31b086a947f97ed22a46efb48fc70b19 (diff)
Fix dialup/lan access service record mess
Diffstat (limited to 'dund/main.c')
-rw-r--r--dund/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dund/main.c b/dund/main.c
index 8c311763..249d6d7c 100644
--- a/dund/main.c
+++ b/dund/main.c
@@ -398,7 +398,7 @@ static struct option main_lopts[] = {
{ "msdun", 2, 0, 'X' },
{ "activesync", 0, 0, 'a' },
{ "mrouter", 1, 0, 'm' },
- { "dialup", 1, 0, 'u' },
+ { "dialup", 0, 0, 'u' },
{ 0, 0, 0, 0 }
};
@@ -447,6 +447,7 @@ int main(int argc, char *argv[])
case 's':
mode = LISTEN;
+ type = LANACCESS;
break;
case 'c':