Skip to content

Commit

Permalink
Changed upstream Vif lookup. (Before IFx was returend instead of VIFx)
Browse files Browse the repository at this point in the history
  • Loading branch information
ViToni committed Jun 1, 2016
1 parent 0444821 commit 148e7bd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/igmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,10 @@ void acceptIgmp(int recvlen) {
}
} else {
// Activate the route.
my_log(LOG_DEBUG, 0, "Route activate request from %s to %s",
inetFmt(src,s1), inetFmt(dst,s2));
activateRoute(dst, src, upStreamVif[i]-1);
int vifindex = checkVIF->vifindex;
my_log(LOG_DEBUG, 0, "Route activate request from %s to %s on VIF[%d]",
inetFmt(src,s1), inetFmt(dst,s2), vifindex);
activateRoute(dst, src, vifindex);
i = MAX_UPS_VIFS;
}
} else {
Expand Down

0 comments on commit 148e7bd

Please sign in to comment.