Skip to content

Commit

Permalink
ipv4: Use passed-in protocol in ip_route_newports().
Browse files Browse the repository at this point in the history
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Mar 5, 2011
1 parent 3c0afdc commit 4157434
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/net/route.h
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ static inline struct rtable *ip_route_newports(struct rtable *rt,
.fl4_dst = rt->fl.fl4_dst,
.fl4_src = rt->fl.fl4_src,
.fl4_tos = rt->fl.fl4_tos,
.proto = rt->fl.proto,
.proto = protocol,
.fl_ip_sport = sport,
.fl_ip_dport = dport };

Expand Down

0 comments on commit 4157434

Please sign in to comment.