summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorXu Wang <vulab@iscas.ac.cn>2020-09-21 08:38:56 +0200
committerDavid S. Miller <davem@davemloft.net>2020-09-21 23:52:18 +0200
commit91b2c9a0fdb56e3d7eb6bf06a39ad7a50f000916 (patch)
treec3882d84bb95efba298b79e9aacd1d39d5e70650 /net
parentsfc: Fix error code in probe (diff)
downloadlinux-91b2c9a0fdb56e3d7eb6bf06a39ad7a50f000916.tar.xz
linux-91b2c9a0fdb56e3d7eb6bf06a39ad7a50f000916.zip
ipv6: route: convert comma to semicolon
Replace a comma between expression statements by a semicolon. Signed-off-by: Xu Wang <vulab@iscas.ac.cn> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/ipv6/route.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c
index 5e7e25e2523a..fb075d9545b9 100644
--- a/net/ipv6/route.c
+++ b/net/ipv6/route.c
@@ -4202,7 +4202,7 @@ static struct fib6_info *rt6_add_route_info(struct net *net,
.fc_nlinfo.nl_net = net,
};
- cfg.fc_table = l3mdev_fib_table(dev) ? : RT6_TABLE_INFO,
+ cfg.fc_table = l3mdev_fib_table(dev) ? : RT6_TABLE_INFO;
cfg.fc_dst = *prefix;
cfg.fc_gateway = *gwaddr;