diff options
author | Lou Berger <lberger@labn.net> | 2018-03-06 20:02:52 +0100 |
---|---|---|
committer | Lou Berger <lberger@labn.net> | 2018-03-06 20:04:32 +0100 |
commit | 996c93142d3abfab0f6d6c800474e22a8cfbdbc5 (patch) | |
tree | 2b28846d256c84cf7b7f1a8988fb3267c8611722 /sharpd | |
parent | bgpd: another change to keep indent.py happy (diff) | |
download | frr-996c93142d3abfab0f6d6c800474e22a8cfbdbc5.tar.xz frr-996c93142d3abfab0f6d6c800474e22a8cfbdbc5.zip |
*: conform with COMMUNITY.md formatting rules, via 'make indent'
Signed-off-by: Lou Berger <lberger@labn.net>
Diffstat (limited to 'sharpd')
-rw-r--r-- | sharpd/sharp_vty.c | 4 | ||||
-rw-r--r-- | sharpd/sharp_zebra.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sharpd/sharp_vty.c b/sharpd/sharp_vty.c index 0e7d1f2c2..3065ad19c 100644 --- a/sharpd/sharp_vty.c +++ b/sharpd/sharp_vty.c @@ -71,7 +71,7 @@ DEFPY (install_routes, zlog_debug("Inserting %ld routes", routes); temp = ntohl(p.u.prefix4.s_addr); - for (i = 0 ; i < routes ; i++) { + for (i = 0; i < routes; i++) { route_add(&p, &nhop); p.u.prefix4.s_addr = htonl(++temp); } @@ -134,7 +134,7 @@ DEFPY (remove_routes, zlog_debug("Removing %ld routes", routes); temp = ntohl(p.u.prefix4.s_addr); - for (i = 0; i < routes ; i++) { + for (i = 0; i < routes; i++) { route_delete(&p); p.u.prefix4.s_addr = htonl(++temp); } diff --git a/sharpd/sharp_zebra.c b/sharpd/sharp_zebra.c index f02ce4979..c1c827c36 100644 --- a/sharpd/sharp_zebra.c +++ b/sharpd/sharp_zebra.c @@ -56,7 +56,7 @@ static struct interface *zebra_interface_if_lookup(struct stream *s) /* Inteface addition message from zebra. */ static int interface_add(int command, struct zclient *zclient, - zebra_size_t length, vrf_id_t vrf_id) + zebra_size_t length, vrf_id_t vrf_id) { struct interface *ifp; @@ -200,7 +200,7 @@ extern struct zebra_privs_t sharp_privs; void sharp_zebra_init(void) { - struct zclient_options opt = { .receive_notify = true }; + struct zclient_options opt = {.receive_notify = true}; zclient = zclient_new_notify(master, &opt); |