Skip to contentSkip to conversation

: Use correct config option for routing by fwmark in compare_keys()

DECNET Patrick McHardy 2 participants 2 messages Oct 12, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Small bugfix to the compare_keys fix.

[DECNET]: Use correct config option for routing by fwmark in compare_keys()

---
commit 8302c73a668852de1b1527038bc4c432cf757a7f
tree d4e9be4f4bfc87b56bf4756a12a2538f2211fc84
parent 22c4cae48af19e83f31bb88a98970166beacc4fd
author Patrick McHardy <[email protected]> Thu, 12 Oct 2006 12:22:57 +0200 committer Patrick McHardy <[email protected]> Thu, 12 Oct 2006 12:22:57 +0200

 net/decnet/dn_route.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
net/decnet/dn_route.c +1 -1
index a2a43d8..491429c 100644
@@ -269,7 +269,7 @@ static inline int compare_keys(struct fl
 {
 	return ((fl1->nl_u.dn_u.daddr ^ fl2->nl_u.dn_u.daddr) |
 		(fl1->nl_u.dn_u.saddr ^ fl2->nl_u.dn_u.saddr) |
-#ifdef CONFIG_IP_ROUTE_FWMARK
+#ifdef CONFIG_DECNET_ROUTE_FWMARK
 		(fl1->nl_u.dn_u.fwmark ^ fl2->nl_u.dn_u.fwmark) |
 #endif
 		(fl1->nl_u.dn_u.scope ^ fl2->nl_u.dn_u.scope) |
maintainer
#1 lore raw

From: Patrick McHardy <[email protected]>
Date: Thu, 12 Oct 2006 12:23:37 +0200

Quoted 1 line

Small bugfix to the compare_keys fix.

Damn cut&paste :-) I'll add this fix tomorrow, thanks.