summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaroslav Tykhiy <ytykhiy@gmail.com>2003-12-19 16:03:28 +0000
committerYaroslav Tykhiy <ytykhiy@gmail.com>2003-12-19 16:03:28 +0000
commite883537ce7781202bc7dcc1af8211191c2cd3972 (patch)
treec9ea070b40fd9e2335ed5b7ce0b5cd7fb687c575
parent05f768d918f3a3f2cf8db724811940cca21ed629 (diff)
Notes
-rw-r--r--sys/netgraph/ng_pppoe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netgraph/ng_pppoe.c b/sys/netgraph/ng_pppoe.c
index 062ab31296f0..fb379b39f00f 100644
--- a/sys/netgraph/ng_pppoe.c
+++ b/sys/netgraph/ng_pppoe.c
@@ -246,9 +246,9 @@ struct ether_header eh_prototype =
ETHERTYPE_PPPOE_DISC};
#define PPPOE_KEEPSTANDARD -1 /* never switch to nonstandard mode */
-#define PPPOE_STANDARD 0 /* try standard mode (default) */
+#define PPPOE_STANDARD 0 /* try standard mode (dangerous!) */
#define PPPOE_NONSTANDARD 1 /* just be in nonstandard mode */
-static int pppoe_mode = PPPOE_STANDARD;
+static int pppoe_mode = PPPOE_KEEPSTANDARD;
static int
ngpppoe_set_ethertype(SYSCTL_HANDLER_ARGS)