summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/pol/alternate_pff.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipcpd/normal/pol/alternate_pff.c')
-rw-r--r--src/ipcpd/normal/pol/alternate_pff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipcpd/normal/pol/alternate_pff.c b/src/ipcpd/normal/pol/alternate_pff.c
index 3cb99d9c..cfe00923 100644
--- a/src/ipcpd/normal/pol/alternate_pff.c
+++ b/src/ipcpd/normal/pol/alternate_pff.c
@@ -384,7 +384,7 @@ int alternate_flow_state_change(struct pff_i * pff_i,
} else {
/* Need to switch to a (different) alternate */
if (fds[0] == fd) {
- for (i = 0 ; i < len; i++) {
+ for (i = 1; i < len; i++) {
/* Usable alternate */
if (!nhops_down_has(pff_i, fds[i])) {
tmp = fds[0];