summaryrefslogtreecommitdiffstats
path: root/dund/main.c
diff options
context:
space:
mode:
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':