diff options
Diffstat (limited to 'usr.sbin/ppp/physical.c')
-rw-r--r-- | usr.sbin/ppp/physical.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/usr.sbin/ppp/physical.c b/usr.sbin/ppp/physical.c index ec93fcc..1483b66 100644 --- a/usr.sbin/ppp/physical.c +++ b/usr.sbin/ppp/physical.c @@ -1129,3 +1129,11 @@ physical_Slot(struct physical *p) return -1; } + +int +physical_SetPPPoEnonstandard(struct physical *p, int enable) +{ + p->cfg.nonstandard_pppoe = enable ? 1 : 0; + p->cfg.pppoe_configured = 1; + return 1; +} |