FreeBSD Bugzilla – Attachment 162429 Details for
Bug 204005
[patch][pf] PF_ANEQ macro improperly compare IPv4 packets.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
file.diff (text/plain), 619 bytes, created by
Miłosz Kaniewski
on 2015-10-24 17:17:18 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Miłosz Kaniewski
Created:
2015-10-24 17:17:18 UTC
Size:
619 bytes
patch
obsolete
>--- pfvar.h.orig 2015-10-24 16:27:18.015793302 +0200 >+++ pfvar.h 2015-10-24 16:42:59.996982433 +0200 >@@ -198,10 +198,11 @@ > (a)->addr32[0] == (b)->addr32[0])) \ > > #define PF_ANEQ(a, b, c) \ >- ((a)->addr32[0] != (b)->addr32[0] || \ >- (a)->addr32[1] != (b)->addr32[1] || \ >+ ((c == AF_INET && (a)->addr32[0] != (b)->addr32[0]) || \ >+ (c == AF_INET6 && ((a)->addr32[3] != (b)->addr32[3] || \ > (a)->addr32[2] != (b)->addr32[2] || \ >- (a)->addr32[3] != (b)->addr32[3]) \ >+ (a)->addr32[1] != (b)->addr32[1] || \ >+ (a)->addr32[0] != (b)->addr32[0]))) \ > > #define PF_AZERO(a, c) \ > ((c == AF_INET && !(a)->addr32[0]) || \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 204005
: 162429