ipv4: Use passed-in protocol in ip_route_newports().
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
3c0afdca44
commit
4157434c23
1 changed files with 1 additions and 1 deletions
|
@ -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 };
|
||||
|
||||
|
|
Loading…
Reference in a new issue