Fix packet fragmentation support broken by copy/paste error in rev.1.60.

ip_id should be u_short, but not u_char.
This commit is contained in:
Alexander Motin 2008-06-01 11:47:04 +00:00
parent 71e26e2c0e
commit aac54f0a70

View File

@ -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;