diff options
author | mav <mav@FreeBSD.org> | 2008-06-01 11:47:04 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2008-06-01 11:47:04 +0000 |
commit | f9451aca1bec577f1da039b2b26170eec074401a (patch) | |
tree | 48edf672f5d5e75f015a8285e5876d511a1094fa /sys/netinet/libalias | |
parent | 061cc6f3ee167947a9dcbd736ad5a4db12e42265 (diff) | |
download | FreeBSD-src-f9451aca1bec577f1da039b2b26170eec074401a.zip FreeBSD-src-f9451aca1bec577f1da039b2b26170eec074401a.tar.gz |
Fix packet fragmentation support broken by copy/paste error in rev.1.60.
ip_id should be u_short, but not u_char.
Diffstat (limited to 'sys/netinet/libalias')
-rw-r--r-- | sys/netinet/libalias/alias.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/libalias/alias.c b/sys/netinet/libalias/alias.c index 9c84db7..59092c2 100644 --- a/sys/netinet/libalias/alias.c +++ b/sys/netinet/libalias/alias.c @@ -1092,13 +1092,13 @@ saved and recalled when a header fragment is seen. /* Local prototypes */ static int FragmentIn(struct libalias *la, struct in_addr ip_src, - struct in_addr *ip_dst, u_char ip_p, u_short *ip_sum); + struct in_addr *ip_dst, u_short ip_id, u_short *ip_sum); static int FragmentOut(struct libalias *, struct in_addr *ip_src, u_short *ip_sum); static int FragmentIn(struct libalias *la, struct in_addr ip_src, struct in_addr *ip_dst, - u_char ip_id, u_short *ip_sum) + u_short ip_id, u_short *ip_sum) { struct alias_link *lnk; |