Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

clear sin6_scope_id after in6_embedscope.

the previous code actually did not cause a trouble, but it is still
correct to clear the field.
  • Loading branch information...
commit ec559185d5429c89007199a3233b596dd490d3f9 1 parent 1de6e41
jinmei authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  kame/sys/netinet6/in6_ifattach.c
View
3  kame/sys/netinet6/in6_ifattach.c
@@ -1,4 +1,4 @@
-/* $KAME: in6_ifattach.c,v 1.190 2004/02/13 02:52:09 keiichi Exp $ */
+/* $KAME: in6_ifattach.c,v 1.191 2004/02/20 09:10:48 jinmei Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -848,6 +848,7 @@ in6_nigroup(ifp, name, namelen, sa6)
return -1; /* XXX: should not fail */
}
in6_embedscope(&sa6->sin6_addr, sa6);
+ sa6->sin6_scope_id = 0; /* XXX */
return 0;
}
Please sign in to comment.
Something went wrong with that request. Please try again.