• F
    net: typos in comments in include/linux/igmp.h · 7b26e5eb
    Francois-Xavier Le Bail 提交于
    There are typos in comments in include/linux/igmp.h:
    
    83 #define IGMP_HOST_MEMBERSHIP_QUERY      0x11    /* From RFC1112 */
    84 #define IGMP_HOST_MEMBERSHIP_REPORT     0x12    /* Ditto */
    [snip]
    88 #define IGMPV2_HOST_MEMBERSHIP_REPORT   0x16    /* V2 version of 0x11 */
    89 #define IGMP_HOST_LEAVE_MESSAGE         0x17
    90 #define IGMPV3_HOST_MEMBERSHIP_REPORT   0x22    /* V3 version of 0x11 */
    
    The line 88 and 90 are about REPORT messages.
    The IGMP_HOST_MEMBERSHIP_REPORT (IGMP V1) value is 0x12.
    So the comment on line 88 must be /* V2 version of 0x12 */,
    and the comment on line 90 must be /* V3 version of 0x12 */.
    Signed-off-by: NFrancois-Xavier Le Bail <fx.lebail@orange.fr>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    7b26e5eb
igmp.h 6.5 KB