mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 19:08:58 +00:00
Fix multicast address for sending router discovery packets.
Submitted by: Kensaku Masuda <greg@greg.rim.or.jp>
This commit is contained in:
parent
1336da0dea
commit
58032a7209
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=16393
@ -32,11 +32,10 @@
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
static char sccsid[] = "@(#)rdisc.c 8.1 (Berkeley) x/y/95";
|
||||
static const char rcsid[] =
|
||||
"$Id$";
|
||||
#endif /* not lint */
|
||||
|
||||
#ident "$Revision: 1.1 $"
|
||||
|
||||
#include "defs.h"
|
||||
#include <netinet/in_systm.h>
|
||||
#include <netinet/ip.h>
|
||||
@ -788,7 +787,7 @@ rdisc_sol(void)
|
||||
u.so.icmp_cksum = in_cksum((u_short*)&u.so,
|
||||
sizeof(u.so));
|
||||
send_rdisc(&u, sizeof(u.so), ifp,
|
||||
INADDR_ALLROUTERS_GROUP,
|
||||
htonl(INADDR_ALLROUTERS_GROUP),
|
||||
((ifp->int_if_flags & IS_BCAST_RDISC)
|
||||
? 1 : 2));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user