Index: /src/router/services/networking/firewall.c =================================================================== --- /src/router/services/networking/firewall.c (revision 12386) +++ /src/router/services/networking/firewall.c (revision 12387) @@ -774,8 +774,4 @@ if (strlen(wanface) > 0) save2file("-A POSTROUTING -o %s -j SNAT --to-source %s\n",wanface,nvram_safe_get("wan_ipaddr")); - if (nvram_match("wan_proto", "pptp") && nvram_match("pptp_use_dhcp", "1")) - { - save2file("-A POSTROUTING -o %s -j SNAT --to-source %s\n",nvram_safe_get("pptp_ifname"),nvram_safe_get("pptp_wan_ipaddr")); - }else if (nvram_match("wan_proto", "pptp")) { struct in_addr ifaddr; Index: /src/router/services/networking/udhcpc.c =================================================================== --- /src/router/services/networking/udhcpc.c (revision 12386) +++ /src/router/services/networking/udhcpc.c (revision 12387) @@ -234,8 +234,5 @@ if (nvram_match("wan_proto", "pptp") && nvram_match("pptp_use_dhcp", "1")) - { eval("ifconfig", wan_ifname, temp_wan_ipaddr, "netmask",temp_wan_netmask, "up"); - nvram_set("pptp_wan_ipaddr",temp_wan_ipaddr); - } else eval("ifconfig", wan_ifname, nvram_safe_get("wan_ipaddr"),