summaryrefslogtreecommitdiff
path: root/net/xorp/files/patch-libproto__packet.cc
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-02-26 21:54:59 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-02-26 21:54:59 +0000
commit54dc2eefdab938ae2b410e756853cd13e4aaf074 (patch)
tree962ae154fb3cfc79c860e04a7f680db1f8814018 /net/xorp/files/patch-libproto__packet.cc
parent- mark forbidden if build with Apache modules (not the default) (diff)
- Update to 1.8.5
- Unbreak and unexpire - Stage support PR: ports/186982 Submitted by: Johannes 5 Joemann
Notes
Notes: svn path=/head/; revision=346231
Diffstat (limited to 'net/xorp/files/patch-libproto__packet.cc')
-rw-r--r--net/xorp/files/patch-libproto__packet.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/xorp/files/patch-libproto__packet.cc b/net/xorp/files/patch-libproto__packet.cc
new file mode 100644
index 000000000000..06279f227035
--- /dev/null
+++ b/net/xorp/files/patch-libproto__packet.cc
@@ -0,0 +1,11 @@
+--- ./libproto/packet.cc.orig 2011-03-16 21:27:50.000000000 +0000
++++ ./libproto/packet.cc 2014-02-26 21:17:13.000000000 +0000
+@@ -233,7 +233,7 @@
+ }
+
+ ArpHeader::ArpHeader() {
+- memset(this, 0, sizeof(this));
++ memset(this, 0, sizeof(*this));
+ ah_hw_len = 6;
+ ah_proto_len = 4;
+ }