git: 6c5409c5d6c7 - stable/13 - natd: Remove uneeded in_cksum.h includes
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 01 Dec 2021 12:48:33 UTC
The branch stable/13 has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=6c5409c5d6c7e018c5f16df47a700a557568dc5d
commit 6c5409c5d6c7e018c5f16df47a700a557568dc5d
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2021-11-24 18:30:28 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2021-12-01 12:42:13 +0000
natd: Remove uneeded in_cksum.h includes
Sponsored by: The FreeBSD Foundation
(cherry picked from commit 517373f7230207e60e4561bc44c8b3c44acea963)
---
sbin/natd/icmp.c | 1 -
sbin/natd/natd.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/sbin/natd/icmp.c b/sbin/natd/icmp.c
index 1509b965f4b8..f85457ac4773 100644
--- a/sbin/natd/icmp.c
+++ b/sbin/natd/icmp.c
@@ -30,7 +30,6 @@
#include <netinet/in_systm.h>
#include <netinet/ip.h>
#include <netinet/ip_icmp.h>
-#include <machine/in_cksum.h>
#include <alias.h>
diff --git a/sbin/natd/natd.c b/sbin/natd/natd.c
index 268850c0a95a..402c430dfdfd 100644
--- a/sbin/natd/natd.c
+++ b/sbin/natd/natd.c
@@ -24,7 +24,6 @@ __FBSDID("$FreeBSD$");
#include <netinet/in.h>
#include <netinet/in_systm.h>
#include <netinet/ip.h>
-#include <machine/in_cksum.h>
#include <netinet/tcp.h>
#include <netinet/udp.h>
#include <netinet/ip_icmp.h>