Fix PPTP when used over WAN setup using PPPoEToastman-1.28.7489.1
commit82d98a546c763224b4b2b3da72ea4d29a2af9479
authorJean-Yves Avenard <jean-yves@avenard.org>
Mon, 21 Nov 2011 01:41:12 +0000 (21 12:41 +1100)
committerJean-Yves Avenard <jean-yves@avenard.org>
Mon, 21 Nov 2011 01:41:12 +0000 (21 12:41 +1100)
treeb0bc9dc9f915a7a0ae6c5b8735003c84fe6c4862
parent5af826afb9120be6d5d4a5fb002d2ffc77e354b5
Fix PPTP when used over WAN setup using PPPoE

WAN options were set using the system-wide pppd options file.
the pppd process read the system-wide options file (in /tmp/ppp/options) before reading any other configuration. This meant that really, only one pppd process could run at a time.

We now store the pppd options into /tmp/ppp/wanoptions and start the main pppd with: pppd file /tmp/ppp/wanoptions
That way, we can start subsequent pppd process without conflicting options.
release/src/router/rc/pptp_client.c
release/src/router/rc/wan.c