aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/ip_divert.c
diff options
context:
space:
mode:
authorRandall Stewart <rrs@FreeBSD.org>2020-02-12 13:31:36 +0000
committerRandall Stewart <rrs@FreeBSD.org>2020-02-12 13:31:36 +0000
commit481be5de9deed47eae529c7e5df890520ebc6837 (patch)
treeae00086429032445d9eb8f0f606d1f7d3f20561a /sys/netinet/ip_divert.c
parentdf341f5986e63970ef51eb9d751681b13e62a12f (diff)
downloadsrc-481be5de9deed47eae529c7e5df890520ebc6837.tar.gz
src-481be5de9deed47eae529c7e5df890520ebc6837.zip
White space cleanup -- remove trailing tab's or spaces
from any line. Sponsored by: Netflix Inc.
Notes
Notes: svn path=/head/; revision=357818
Diffstat (limited to 'sys/netinet/ip_divert.c')
-rw-r--r--sys/netinet/ip_divert.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netinet/ip_divert.c b/sys/netinet/ip_divert.c
index 80bfd86c1951..2611a8792be3 100644
--- a/sys/netinet/ip_divert.c
+++ b/sys/netinet/ip_divert.c
@@ -57,7 +57,7 @@ __FBSDID("$FreeBSD$");
#include <net/if.h>
#include <net/if_var.h>
-#include <net/netisr.h>
+#include <net/netisr.h>
#include <netinet/in.h>
#include <netinet/in_pcb.h>
@@ -252,10 +252,10 @@ divert_packet(struct mbuf *m, bool incoming)
*/
if (m->m_pkthdr.rcvif) {
/*
- * Hide the actual interface name in there in the
+ * Hide the actual interface name in there in the
* sin_zero array. XXX This needs to be moved to a
* different sockaddr type for divert, e.g.
- * sockaddr_div with multiple fields like
+ * sockaddr_div with multiple fields like
* sockaddr_dl. Presently we have only 7 bytes
* but that will do for now as most interfaces
* are 4 or less + 2 or less bytes for unit.
@@ -268,7 +268,7 @@ divert_packet(struct mbuf *m, bool incoming)
* and re-uses the sockaddr_in as suggested in the man pages,
* this iface name will come along for the ride.
* (see div_output for the other half of this.)
- */
+ */
strlcpy(divsrc.sin_zero, m->m_pkthdr.rcvif->if_xname,
sizeof(divsrc.sin_zero));
}