diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-03-19 18:11:55 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-03-19 18:11:55 +0000 |
commit | 81950da96f0bc1d1b6bad2b007502547299c3146 (patch) | |
tree | 95ee1d98a390518b35a73207e4525c00b7ba58e7 /etc | |
parent | 195c258a9705c11ebd35a9e8d858de913ed605e2 (diff) | |
download | pfsense-81950da96f0bc1d1b6bad2b007502547299c3146.zip pfsense-81950da96f0bc1d1b6bad2b007502547299c3146.tar.gz |
Do not leave $fd open after opening for write. This could step on the $fd in interfaces.inc
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/openvpn.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/openvpn.inc b/etc/inc/openvpn.inc index 4bdac0c..c7c2355 100644 --- a/etc/inc/openvpn.inc +++ b/etc/inc/openvpn.inc @@ -52,6 +52,7 @@ function ovpn_link_tap() { $link_count = 1; mwexec("/sbin/kldload if_tap"); $fd = fopen($g['vardb_path'] ."/ovpn_tap_link", 'w'); + fclose($fd); } return true; } |