diff options
Diffstat (limited to 'tests/ospf6d/test_lsdb.c')
| -rw-r--r-- | tests/ospf6d/test_lsdb.c | 11 | 
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/ospf6d/test_lsdb.c b/tests/ospf6d/test_lsdb.c index efacace7bc..310c4a7323 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,  | 
