Commit e346cead authored by Franco Fichtner's avatar Franco Fichtner

src: whitespace and style sweep

parent 2ef52e06
......@@ -127,5 +127,4 @@ class VoucherController extends ApiControllerBase
}
return array();
}
}
......@@ -374,7 +374,7 @@ class Radius implements IAuthConnector
if (!$radius) {
syslog(LOG_ERR, 'RadiusError:' . radius_strerror($error));
} else {
switch($request) {
switch ($request) {
case RADIUS_ACCESS_ACCEPT:
while ($resa = radius_get_attr($radius)) {
switch ($resa['attr']) {
......
......@@ -55,6 +55,3 @@ for conns in s.list_conns():
for conn_id in conns_found:
devnull = open(os.devnull, 'w')
subprocess.call(['/usr/local/sbin/ipsec', 'up', conn_id], stdin=devnull, stdout=devnull, stderr=devnull)
......@@ -51,6 +51,3 @@ for sas in s.list_sas():
if conn_found:
devnull = open(os.devnull, 'w')
subprocess.call(['/usr/local/sbin/ipsec', 'down', conn_id], stdin=devnull, stdout=devnull, stderr=devnull)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment