diff options
author | Kozlov Dmitry <xeb@mail.ru> | 2012-05-31 09:45:41 +0400 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2012-05-31 09:45:41 +0400 |
commit | 62dc5e3fe0c9dbeb808e3830ee72283b6c2842d1 (patch) | |
tree | dce23e02c1351eb2097c51d1e53f0e3827653c5b /accel-pppd/ctrl/pppoe | |
parent | 0a823d8d044f023a8fbe388e1b5235b660c5127b (diff) | |
download | accel-ppp-62dc5e3fe0c9dbeb808e3830ee72283b6c2842d1.tar.gz accel-ppp-62dc5e3fe0c9dbeb808e3830ee72283b6c2842d1.zip |
pppoe: fix improper ifname-in-sid handling
Diffstat (limited to 'accel-pppd/ctrl/pppoe')
-rw-r--r-- | accel-pppd/ctrl/pppoe/pppoe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/accel-pppd/ctrl/pppoe/pppoe.c b/accel-pppd/ctrl/pppoe/pppoe.c index 41a0924d..73ddb913 100644 --- a/accel-pppd/ctrl/pppoe/pppoe.c +++ b/accel-pppd/ctrl/pppoe/pppoe.c @@ -1386,9 +1386,9 @@ static void load_config(void) opt = conf_get_opt("pppoe", "ifname-in-sid"); if (opt) { - if (!strcmp(opt, "called-sid")) + if (!strcmp(opt, "calling-sid")) conf_ifname_in_sid = 1; - else if (!strcmp(opt, "calling-sid")) + else if (!strcmp(opt, "callied-sid")) conf_ifname_in_sid = 2; else if (!strcmp(opt, "both")) conf_ifname_in_sid = 3; |