Print this page
8903 IPPF paths have bad logic
Reviewed by: Dan McDonald <danmcd@joyent.com>
Reviewed by: John Levon <levon@movementarian.org>
Reviewed by: Gergő Doma <domag02@gmail.com>
@@ -2359,11 +2359,11 @@
* We skip this for loopback packets since we don't do IPQoS
* on loopback.
*/
if (IPP_ENABLED(IPP_LOCAL_IN, ipst) &&
!(iraflags & IRAF_LOOPBACK) &&
- (protocol != IPPROTO_ESP || protocol != IPPROTO_AH)) {
+ (protocol != IPPROTO_ESP && protocol != IPPROTO_AH)) {
/*
* Use the interface on which the packet arrived - not where
* the IP address is hosted.
*/
/* ip_process translates an IS_UNDER_IPMP */