diff options
| author | Brian Somers <brian@FreeBSD.org> | 2002-07-01 11:19:40 +0000 |
|---|---|---|
| committer | Brian Somers <brian@FreeBSD.org> | 2002-07-01 11:19:40 +0000 |
| commit | 27cc91fbf84cc6c1cef81df859125f42292a2b69 (patch) | |
| tree | 7ac18556721e3d172be5151edc94d09c3b206d75 /lib/libalias/alias_util.c | |
| parent | 5346934fe7577876dc77535e40153c1275a2b252 (diff) | |
Notes
Diffstat (limited to 'lib/libalias/alias_util.c')
| -rw-r--r-- | lib/libalias/alias_util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libalias/alias_util.c b/lib/libalias/alias_util.c index 787c85975328..d6b40a2bc170 100644 --- a/lib/libalias/alias_util.c +++ b/lib/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; |
