summaryrefslogtreecommitdiffstats
path: root/usr/local/sbin/ovpn-linkup
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-09-15 19:47:39 +0000
committerErmal <eri@pfsense.org>2010-09-15 19:47:39 +0000
commit04c528e72b89123b129f343db8195213743d238e (patch)
treee0020c73b1268334630d377a89bd561735b37272 /usr/local/sbin/ovpn-linkup
parent0c452870cdc2816749f4b1c12370a3d6a64158d5 (diff)
downloadpfsense-04c528e72b89123b129f343db8195213743d238e.zip
pfsense-04c528e72b89123b129f343db8195213743d238e.tar.gz
Ticket #876. Actually the event to send is interface newip $ip rather interface configure! also use the fact that now we have a /tmp/$if_defaultgw rather than relying in route get default which might block.
Diffstat (limited to 'usr/local/sbin/ovpn-linkup')
-rwxr-xr-xusr/local/sbin/ovpn-linkup2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/sbin/ovpn-linkup b/usr/local/sbin/ovpn-linkup
index cc09003..2d5d006 100755
--- a/usr/local/sbin/ovpn-linkup
+++ b/usr/local/sbin/ovpn-linkup
@@ -3,7 +3,7 @@
# write nameservers to file needs dns fidnings?!
# let the configuration system know that the ip has changed.
-#/usr/local/sbin/pfSctl -c "interface reload $interface"
+#/usr/local/sbin/pfSctl -c "interface newip $interface"
/bin/echo $4 > /tmp/$1_router
/usr/bin/touch /tmp/$1up
# reload filter
OpenPOWER on IntegriCloud