diff options
Diffstat (limited to 'sys/netinet/libalias/alias_util.c')
-rw-r--r-- | sys/netinet/libalias/alias_util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/libalias/alias_util.c b/sys/netinet/libalias/alias_util.c index 787c859..d6b40a2 100644 --- a/sys/netinet/libalias/alias_util.c +++ b/sys/netinet/libalias/alias_util.c @@ -49,7 +49,7 @@ been zeroed out. If the checksum word is filled with the proper value, then these routines will give a result of zero (useful for testing purposes); */ - + #include <sys/types.h> #include <netinet/in_systm.h> #include <netinet/in.h> @@ -90,7 +90,7 @@ IpChecksum(struct ip *pip) } -u_short +u_short TcpChecksum(struct ip *pip) { u_short *ptr; @@ -103,7 +103,7 @@ TcpChecksum(struct ip *pip) tc = (struct tcphdr *) ((char *) pip + nhdr); ptr = (u_short *) tc; - + /* Add up TCP header and data */ nbytes = ntcp; sum = 0; |