aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/igmp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/igmp')
-rw-r--r--src/plugins/igmp/igmp.c12
-rw-r--r--src/plugins/igmp/igmp_query.c2
2 files changed, 7 insertions, 7 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);