aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2019-03-14 09:51:23 -0700
committerNeale Ranns <nranns@cisco.com>2019-03-14 09:51:23 -0700
commit8b4712b49e2d96ab01ea4e01f661e37d8044d57a (patch)
treecf2412201b051414b68c5d886e5aeda48089704c /src
parente5468b320a1f85c58cd888f8ac930b29f85c2e4b (diff)
IGMP: typo and doc fix (no behaviour change)
Change-Id: I1c870f90a8e0d14b972593e72242b430c13d3bf2 Signed-off-by: Neale Ranns <nranns@cisco.com>
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);
}