Skip to content

Commit

Permalink
fixed a bug that pim6dd cannot receive PIM messages on MLDv2-ready ke…
Browse files Browse the repository at this point in the history
…rnel
  • Loading branch information
suz committed Jul 6, 2004
1 parent b17f61f commit 404b477
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kame/kame/pim6dd/vif.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $KAME: vif.c,v 1.9 2003/09/02 09:57:05 itojun Exp $ */
/* $KAME: vif.c,v 1.10 2004/07/06 10:22:33 suz Exp $ */

/*
* Copyright (c) 1998-2001
Expand Down Expand Up @@ -234,7 +234,7 @@ start_vif(vifi)
/*
* Join the PIM multicast group on the interface.
*/
k_join(mld6_socket, &allpim6routers_group.sin6_addr, v->uv_ifindex);
k_join(pim6_socket, &allpim6routers_group.sin6_addr, v->uv_ifindex);

/*
* Join the ALL-ROUTERS multicast group on the interface.
Expand Down Expand Up @@ -285,7 +285,7 @@ stop_vif(vifi)
* consistent with the daemon table
*/
v = &uvifs[vifi];
k_leave(mld6_socket, &allpim6routers_group.sin6_addr, v->uv_ifindex);
k_leave(pim6_socket, &allpim6routers_group.sin6_addr, v->uv_ifindex);
k_leave(mld6_socket, &allrouters_group.sin6_addr, v->uv_ifindex);
/*
* Discard all group addresses. (No need to tell kernel;
Expand Down

0 comments on commit 404b477

Please sign in to comment.