summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkj <markj@FreeBSD.org>2016-05-15 03:19:53 +0000
committermarkj <markj@FreeBSD.org>2016-05-15 03:19:53 +0000
commiteac165ebf395c4e995cc7aed2234e8e714759693 (patch)
tree7e67330b29498be9525b67a42d74ae24066e3514
parent43beb421e5ff1b00327857b24ec6a2eb9357a2e1 (diff)
downloadFreeBSD-src-eac165ebf395c4e995cc7aed2234e8e714759693.zip
FreeBSD-src-eac165ebf395c4e995cc7aed2234e8e714759693.tar.gz
Fix a few style issues in the ICMP sysctl descriptions.
MFC after: 1 week
-rw-r--r--sys/netinet/ip_icmp.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/sys/netinet/ip_icmp.c b/sys/netinet/ip_icmp.c
index a87daf7..39a28b8 100644
--- a/sys/netinet/ip_icmp.c
+++ b/sys/netinet/ip_icmp.c
@@ -104,18 +104,19 @@ static VNET_DEFINE(int, icmpmaskrepl) = 0;
#define V_icmpmaskrepl VNET(icmpmaskrepl)
SYSCTL_INT(_net_inet_icmp, ICMPCTL_MASKREPL, maskrepl, CTLFLAG_VNET | CTLFLAG_RW,
&VNET_NAME(icmpmaskrepl), 0,
- "Reply to ICMP Address Mask Request packets.");
+ "Reply to ICMP Address Mask Request packets");
static VNET_DEFINE(u_int, icmpmaskfake) = 0;
#define V_icmpmaskfake VNET(icmpmaskfake)
SYSCTL_UINT(_net_inet_icmp, OID_AUTO, maskfake, CTLFLAG_VNET | CTLFLAG_RW,
&VNET_NAME(icmpmaskfake), 0,
- "Fake reply to ICMP Address Mask Request packets.");
+ "Fake reply to ICMP Address Mask Request packets");
VNET_DEFINE(int, drop_redirect) = 0;
#define V_drop_redirect VNET(drop_redirect)
SYSCTL_INT(_net_inet_icmp, OID_AUTO, drop_redirect, CTLFLAG_VNET | CTLFLAG_RW,
- &VNET_NAME(drop_redirect), 0, "Ignore ICMP redirects");
+ &VNET_NAME(drop_redirect), 0,
+ "Ignore ICMP redirects");
static VNET_DEFINE(int, log_redirect) = 0;
#define V_log_redirect VNET(log_redirect)
@@ -127,7 +128,7 @@ static VNET_DEFINE(char, reply_src[IFNAMSIZ]);
#define V_reply_src VNET(reply_src)
SYSCTL_STRING(_net_inet_icmp, OID_AUTO, reply_src, CTLFLAG_VNET | CTLFLAG_RW,
&VNET_NAME(reply_src), IFNAMSIZ,
- "icmp reply source for non-local packets.");
+ "ICMP reply source for non-local packets");
static VNET_DEFINE(int, icmp_rfi) = 0;
#define V_icmp_rfi VNET(icmp_rfi)
@@ -141,19 +142,17 @@ SYSCTL_INT(_net_inet_icmp, OID_AUTO, quotelen, CTLFLAG_VNET | CTLFLAG_RW,
&VNET_NAME(icmp_quotelen), 0,
"Number of bytes from original packet to quote in ICMP reply");
-/*
- * ICMP broadcast echo sysctl
- */
static VNET_DEFINE(int, icmpbmcastecho) = 0;
#define V_icmpbmcastecho VNET(icmpbmcastecho)
SYSCTL_INT(_net_inet_icmp, OID_AUTO, bmcastecho, CTLFLAG_VNET | CTLFLAG_RW,
&VNET_NAME(icmpbmcastecho), 0,
- "");
+ "Reply to multicast ICMP Echo Request and Timestamp packets");
static VNET_DEFINE(int, icmptstamprepl) = 1;
#define V_icmptstamprepl VNET(icmptstamprepl)
SYSCTL_INT(_net_inet_icmp, OID_AUTO, tstamprepl, CTLFLAG_RW,
- &VNET_NAME(icmptstamprepl), 0, "Respond to ICMP Timestamp packets");
+ &VNET_NAME(icmptstamprepl), 0,
+ "Respond to ICMP Timestamp packets");
#ifdef ICMPPRINTFS
int icmpprintfs = 0;
OpenPOWER on IntegriCloud