aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/igmp/igmp.c12
-rw-r--r--src/plugins/igmp/igmp_query.c2
-rw-r--r--src/vnet/ip/igmp_packet.h2
3 files changed, 8 insertions, 8 deletions
diff --git a/src/plugins/igmp/igmp.c b/src/plugins/igmp/igmp.c
index e12a6323b40..01f75f9e4b1 100644
--- a/src/plugins/igmp/igmp.c
+++ b/src/plugins/igmp/igmp.c
@@ -142,12 +142,12 @@ igmp_listen (vlib_main_t * vm,
/*
* RFC 3376 Section 2
" For a given combination of socket, interface, and multicast address,
- only a single filter mode and source list can be in effect at any one
- time. However, either the filter mode or the source list, or both,
- may be changed by subsequent IPMulticastListen requests that specify
- the same socket, interface, and multicast address. Each subsequent
- request completely replaces any earlier request for the given socket,
- interface and multicast address."
+ * only a single filter mode and source list can be in effect at any one
+ * time. However, either the filter mode or the source list, or both,
+ * may be changed by subsequent IPMulticastListen requests that specify
+ * the same socket, interface, and multicast address. Each subsequent
+ * request completely replaces any earlier request for the given socket,
+ * interface and multicast address."
*/
int rv = 0;
IGMP_DBG ("listen: (%U, %U) %U %U",
diff --git a/src/plugins/igmp/igmp_query.c b/src/plugins/igmp/igmp_query.c
index 4b3da094548..c75b01a295b 100644
--- a/src/plugins/igmp/igmp_query.c
+++ b/src/plugins/igmp/igmp_query.c
@@ -203,7 +203,7 @@ igmp_handle_query (const igmp_query_args_t * args)
Group-Specific Queries, and Group-and-Source-Specific Queries), each
of which may require its own delayed response.
*/
- if (igmp_membership_query_v3_is_geeral (args->query))
+ if (igmp_membership_query_v3_is_general (args->query))
{
IGMP_DBG ("...general-query-rx: %U", format_vnet_sw_if_index_name,
vnet_get_main (), args->sw_if_index);
diff --git a/src/vnet/ip/igmp_packet.h b/src/vnet/ip/igmp_packet.h
index cd4a40d77ff..8a3ceffc95e 100644
--- a/src/vnet/ip/igmp_packet.h
+++ b/src/vnet/ip/igmp_packet.h
@@ -124,7 +124,7 @@ igmp_membership_query_v3_length (const igmp_membership_query_v3_t * q)
}
always_inline int
-igmp_membership_query_v3_is_geeral (const igmp_membership_query_v3_t * q)
+igmp_membership_query_v3_is_general (const igmp_membership_query_v3_t * q)
{
return (0 == q->group_address.as_u32);
}