diff options
| author | Brian Somers <brian@FreeBSD.org> | 1997-08-03 18:20:03 +0000 |
|---|---|---|
| committer | Brian Somers <brian@FreeBSD.org> | 1997-08-03 18:20:03 +0000 |
| commit | 3efa11bb71461889a3d835573e6d6d0b6daa6ba4 (patch) | |
| tree | 38a37d2c66c225db25689c6cde1f8fce18432c23 /lib/libalias/alias_util.c | |
| parent | 9fb4ef622736020fb824324326004eee17c007e5 (diff) | |
Notes
Diffstat (limited to 'lib/libalias/alias_util.c')
| -rw-r--r-- | lib/libalias/alias_util.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libalias/alias_util.c b/lib/libalias/alias_util.c index e5906ca2f54a2..fe07653120187 100644 --- a/lib/libalias/alias_util.c +++ b/lib/libalias/alias_util.c @@ -26,10 +26,11 @@ purposes); #include <netinet/ip.h> #include <netinet/tcp.h> +#include "alias.h" #include "alias_local.h" u_short -InternetChecksum(u_short *ptr, int nbytes) +PacketAliasInternetChecksum(u_short *ptr, int nbytes) { int sum, oddbyte; @@ -53,7 +54,8 @@ InternetChecksum(u_short *ptr, int nbytes) u_short IpChecksum(struct ip *pip) { - return( InternetChecksum((u_short *) pip, (pip->ip_hl << 2)) ); + return( PacketAliasInternetChecksum((u_short *) pip, + (pip->ip_hl << 2)) ); } |
