From 0be95cdbc697ad8ec7b4384bec6e977cf7bb7857 Mon Sep 17 00:00:00 2001 From: jdegraeve Date: Wed, 24 May 2006 14:39:44 +0000 Subject: [PATCH] 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 --- phpconf/inc/captiveportal.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"); } } -- 2.25.1