ipsec: change ipsecctrl for status and reload of charon.
authorArne Fitzenreiter <arne_f@ipfire.org>
Sun, 26 Jun 2011 13:15:12 +0000 (15:15 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 26 Jun 2011 13:15:12 +0000 (15:15 +0200)
src/misc-progs/ipsecctrl.c

index 51f6b5a..ae38996 100644 (file)
@@ -178,11 +178,13 @@ int main(int argc, char *argv[]) {
 
         if (strcmp(argv[1], "I") == 0) {
                 safe_system("/usr/sbin/ipsec whack --status");
+                safe_system("/usr/sbin/ipsec stroke status");
                 exit(0);
         }
 
         if (strcmp(argv[1], "R") == 0) {
                 safe_system("/usr/sbin/ipsec whack --rereadall >/dev/null");
+                safe_system("/usr/sbin/ipsec stroke rereadall >/dev/null");
                 exit(0);
         }