Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177566185
D7777.1794752058.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
768 B
Referenced Files
None
Subscribers
None
D7777.1794752058.diff
View Options
Index: head/sys/netinet/igmp.c
===================================================================
--- head/sys/netinet/igmp.c
+++ head/sys/netinet/igmp.c
@@ -543,10 +543,10 @@
m = m_get(M_WAITOK, MT_DATA);
p = mtod(m, struct ipoption *);
p->ipopt_dst.s_addr = INADDR_ANY;
- p->ipopt_list[0] = IPOPT_RA; /* Router Alert Option */
- p->ipopt_list[1] = 0x04; /* 4 bytes long */
- p->ipopt_list[2] = IPOPT_EOL; /* End of IP option list */
- p->ipopt_list[3] = 0x00; /* pad byte */
+ p->ipopt_list[0] = (char)IPOPT_RA; /* Router Alert Option */
+ p->ipopt_list[1] = 0x04; /* 4 bytes long */
+ p->ipopt_list[2] = IPOPT_EOL; /* End of IP option list */
+ p->ipopt_list[3] = 0x00; /* pad byte */
m->m_len = sizeof(p->ipopt_dst) + p->ipopt_list[1];
return (m);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 15, 2:14 PM (12 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41743850
Default Alt Text
D7777.1794752058.diff (768 B)
Attached To
Mode
D7777: Fix constant conversion warning in igmp
Attached
Detach File
Event Timeline