From d6e5ca722f133121e857bb61542d08bf7628a884 Mon Sep 17 00:00:00 2001 From: Sylvain Rochet Date: Mon, 4 Jun 2012 19:00:36 +0200 Subject: [PATCH] setting default route by default --- src/netif/ppp/ipcp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/netif/ppp/ipcp.c b/src/netif/ppp/ipcp.c index 0c007b58..e7e8f03b 100644 --- a/src/netif/ppp/ipcp.c +++ b/src/netif/ppp/ipcp.c @@ -620,6 +620,9 @@ ipcp_init(unit) wo->maxslotindex = MAX_STATES - 1; /* really max index */ wo->cflag = 1; + /* wanting default route by default */ + /* FIXME: should be configurable */ + wo->default_route = 1; /* max slots and slot-id compression are currently hardwired in */ /* ppp_if.c to 16 and 1, this needs to be changed (among other */