From 2add0a6696c42669706f71baacd2cf88269418f1 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Thu, 9 Jul 2009 14:38:42 -0400 Subject: This routine was not meant to foreach() even though it is inside a foreach(). It's slightly confusing but the foreach obtains the correct namespace and then processes. Add the needed break; statemenet because on subequent foreach() loops, the carp password will be WRONG/BLANK. --- etc/inc/filter.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 5b85c65..855b6d8 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -3278,6 +3278,7 @@ function carp_sync_client() { /* signal a carp reload */ $msg = new XML_RPC_Message('pfsense.interfaces_carp_configure'); $cli->send($msg, "900"); + break; } } } -- cgit v1.1