From: jdegraeve Date: Wed, 24 May 2006 14:39:44 +0000 (+0000) Subject: Fixed bug I overlooked where PIPE wasn't deleted when the user logs out X-Git-Url: https://git.gsnw.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0be95cdbc697ad8ec7b4384bec6e977cf7bb7857;p=m0n0chwall.git Fixed bug I overlooked where PIPE wasn't deleted when the user logs out git-svn-id: https://svn.m0n0.ch/wall/trunk@139 e36fee2c-cc09-0410-a7cc-ebac5c6737de --- diff --git a/phpconf/inc/captiveportal.inc b/phpconf/inc/captiveportal.inc index a6ec6b0..c08693c 100644 --- a/phpconf/inc/captiveportal.inc +++ b/phpconf/inc/captiveportal.inc @@ -533,8 +533,8 @@ function captiveportal_disconnect($dbent, $radiusservers,$term_cause = 1,$stop_t * We could get an error if the pipe doesn't exist but everything should still be fine */ if (isset($config['captiveportal']['peruserbw'])) { - mwexec("/sbin/ipfw pipe delete " . ($dbent[1]+40500)); - mwexec("/sbin/ipfw pipe delete " . ($dbent[1]+45500)); + mwexec("/sbin/ipfw pipe " . ($dbent[1]+40500) . " delete"); + mwexec("/sbin/ipfw pipe " . ($dbent[1]+45500) . " delete"); } }