diff options
-rw-r--r-- | sys/net/if_vxlan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_vxlan.c b/sys/net/if_vxlan.c index de555f10572..6364877dfe0 100644 --- a/sys/net/if_vxlan.c +++ b/sys/net/if_vxlan.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_vxlan.c,v 1.9 2013/10/19 18:22:37 reyk Exp $ */ +/* $OpenBSD: if_vxlan.c,v 1.10 2013/10/22 08:34:04 reyk Exp $ */ /* * Copyright (c) 2013 Reyk Floeter <reyk@openbsd.org> @@ -224,7 +224,7 @@ vxlan_multicast_join(struct ifnet *ifp, struct sockaddr_in *src, (mifp->if_flags & IFF_MULTICAST) == 0) return (EADDRNOTAVAIL); - if ((imo->imo_membership[0] = + if ((imo->imo_membership[0] = in_addmulti(&dst->sin_addr, mifp)) == NULL) return (ENOBUFS); |