diff options
author | archie <archie@FreeBSD.org> | 2001-05-31 23:34:37 +0800 |
---|---|---|
committer | archie <archie@FreeBSD.org> | 2001-05-31 23:34:37 +0800 |
commit | de8e91893645f557adf2f864bf677bb46d5d1e90 (patch) | |
tree | 4cc0313a57d18e0ab674797302be547d64c3321c | |
parent | c1f879e5c8da8ffd858692e22fd8c03419a34806 (diff) | |
download | freebsd-ports-gnome-de8e91893645f557adf2f864bf677bb46d5d1e90.tar.gz freebsd-ports-gnome-de8e91893645f557adf2f864bf677bb46d5d1e90.tar.zst freebsd-ports-gnome-de8e91893645f557adf2f864bf677bb46d5d1e90.zip |
Fix for byte ordering problem.
PR: ports/27285
Submitted by: Bob Bishop <rb@gid.co.uk>
-rw-r--r-- | security/skip/files/patch-dh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/security/skip/files/patch-dh b/security/skip/files/patch-dh new file mode 100644 index 000000000000..032185a0e627 --- /dev/null +++ b/security/skip/files/patch-dh @@ -0,0 +1,19 @@ +diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/common/skip_ah.c work.new/skip/common/skip_ah.c +--- skipsrc-1.0.orig/skip/common/skip_ah.c Wed May 16 16:11:34 2001 ++++ work.new/skip/common/skip_ah.c Wed May 23 09:02:03 2001 +@@ -342,6 +342,7 @@ + ip->ip_ttl = 0; + ip->ip_tos = 0; + ip->ip_off = 0; ++ ip->ip_id = htons(ip->ip_id); + + /* + * Compute the AH Data +@@ -360,6 +361,7 @@ + ip->ip_ttl = ip_ttl; + ip->ip_tos = ip_tos; + ip->ip_off = ip_off; ++ ip->ip_id = ntohs(ip->ip_id); + + /* + * Now, check if MAC is OK... |