Ticket #8812: siproxd.patch

File siproxd.patch, 709 bytes (added by webmaster@…, 7 years ago)

my workaround

Line 
1@@ -116,14 +113,8 @@
2         include /lib/network
3         scan_interfaces
4         config_load /var/state/network
5-        if [ -n "$IF_INBOUND" ]; then
6-                config_get IF_INBOUND "$IF_INBOUND" ifname
7-                printf '%s\n' "if_inbound = $IF_INBOUND" >> /var/etc/siproxd.conf
8-        fi
9-        if [ -n "$IF_OUTBOUND" ]; then
10-                config_get IF_OUTBOUND "$IF_OUTBOUND" ifname
11-                printf '%s\n' "if_outbound = $IF_OUTBOUND" >> /var/etc/siproxd.conf
12-        fi
13+        printf '%s\n' "if_inbound = br-lan" >> /var/etc/siproxd.conf
14+        printf '%s\n' "if_outbound = pppoe-wan" >> /var/etc/siproxd.conf
15         /usr/sbin/siproxd --config "$CONFIG_FILE"
16 }
17