From: jsg Date: Fri, 21 Sep 2018 01:33:55 +0000 (+0000) Subject: add missing braces implied by indentation X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=6a3de14282dca03b0947962c4a841dd7f5145a26;p=openbsd add missing braces implied by indentation ok millert@ claudio@ --- diff --git a/usr.sbin/dvmrpd/rde_srt.c b/usr.sbin/dvmrpd/rde_srt.c index cb8c328eb60..22e4d72084a 100644 --- a/usr.sbin/dvmrpd/rde_srt.c +++ b/usr.sbin/dvmrpd/rde_srt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde_srt.c,v 1.26 2015/05/22 01:30:27 jsg Exp $ */ +/* $OpenBSD: rde_srt.c,v 1.27 2018/09/21 01:33:55 jsg Exp $ */ /* * Copyright (c) 2009 Michele Marchetto @@ -403,9 +403,10 @@ srt_check_route(struct route_report *rr, int connected) srt_set_upstream(rn, ifindex); flash_update(rn); } else if (nbr_report == nbr_ip && - adj_metric == rn->old_cost) + adj_metric == rn->old_cost) { rt_update(rn); flash_update_ds(rn); + } } /* Update forwarder of current interface if necessary and * refresh the route */