ports/net/xorp/files/patch-libproto__packet.cc
Hiroki Sato 0a0906700b - Use USE_GITHUB.
- Add USE_LDCONFIG when SHARED is enabled.
- Use OPTIONS_SUB.
- Use {opt}_FOO wherever possible.
- Normalize patch files.
- Take maintainership.
2015-09-07 19:04:23 +00:00

11 lines
281 B
C++

--- libproto/packet.cc.orig 2012-01-11 17:56:10 UTC
+++ libproto/packet.cc
@@ -233,7 +233,7 @@ IpHeader4Writer::compute_checksum()
}
ArpHeader::ArpHeader() {
- memset(this, 0, sizeof(this));
+ memset(this, 0, sizeof(*this));
ah_hw_len = 6;
ah_proto_len = 4;
}