aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/route.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-03-05 00:31:48 -0500
committerDavid S. Miller <davem@davemloft.net>2011-03-05 00:31:48 -0500
commit4157434c23f8f5126a2ffd3cc7b2c3bd928be075 (patch)
tree6bc9f8533518901a9017935a3fb01152ea6edf38 /include/net/route.h
parent3c0afdca44af795dd315c20cc525927a459abe30 (diff)
ipv4: Use passed-in protocol in ip_route_newports().
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/route.h')
-rw-r--r--include/net/route.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/route.h b/include/net/route.h
index 60daf745216a..8905d90e0044 100644
--- a/include/net/route.h
+++ b/include/net/route.h
@@ -217,7 +217,7 @@ static inline struct rtable *ip_route_newports(struct rtable *rt,
217 .fl4_dst = rt->fl.fl4_dst, 217 .fl4_dst = rt->fl.fl4_dst,
218 .fl4_src = rt->fl.fl4_src, 218 .fl4_src = rt->fl.fl4_src,
219 .fl4_tos = rt->fl.fl4_tos, 219 .fl4_tos = rt->fl.fl4_tos,
220 .proto = rt->fl.proto, 220 .proto = protocol,
221 .fl_ip_sport = sport, 221 .fl_ip_sport = sport,
222 .fl_ip_dport = dport }; 222 .fl_ip_dport = dport };
223 223