summaryrefslogtreecommitdiffstats
path: root/tests/ospf6d
diff options
context:
space:
mode:
authorwhitespace / reindent <invalid@invalid.invalid>2017-07-17 14:03:14 +0200
committerwhitespace / reindent <invalid@invalid.invalid>2017-07-17 14:04:07 +0200
commitd62a17aedeb0eebdba98238874bb13d62c48dbf9 (patch)
tree3b319b1d61c8b85b4d1f06adf8b844bb8a9b5107 /tests/ospf6d
parent*: add indent control files (diff)
downloadfrr-d62a17aedeb0eebdba98238874bb13d62c48dbf9.tar.xz
frr-d62a17aedeb0eebdba98238874bb13d62c48dbf9.zip
indent.py `git ls-files | pcregrep '\.[ch]$' | pcregrep -v '^(ldpd|babeld|nhrpd)/'` Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'tests/ospf6d')
-rw-r--r--tests/ospf6d/test_lsdb.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/ospf6d/test_lsdb.c b/tests/ospf6d/test_lsdb.c
index efacace7b..310c4a732 100644
--- a/tests/ospf6d/test_lsdb.c
+++ b/tests/ospf6d/test_lsdb.c
@@ -116,12 +116,11 @@ static void lsa_show_oneline(struct vty *vty, struct ospf6_lsa *lsa)
vty_out(vty, "lsa = NULL\n");
return;
}
- inet_ntop(AF_INET, &lsa->header->id,
- id, sizeof (id));
- inet_ntop(AF_INET, &lsa->header->adv_router,
- adv_router, sizeof (adv_router));
- vty_out(vty, "type %u adv %s id %s\n",
- ntohs(lsa->header->type), adv_router, id);
+ inet_ntop(AF_INET, &lsa->header->id, id, sizeof(id));
+ inet_ntop(AF_INET, &lsa->header->adv_router, adv_router,
+ sizeof(adv_router));
+ vty_out(vty, "type %u adv %s id %s\n", ntohs(lsa->header->type),
+ adv_router, id);
}
DEFPY(lsdb_walk, lsdb_walk_cmd,