diff options
author | Jan Moskyto Matejka <mq@ucw.cz> | 2015-12-18 11:57:38 +0100 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2015-12-20 13:47:39 +0100 |
commit | 7fd4143eadd5af6e1ad7825d7d7506ad021bf1ad (patch) | |
tree | b16f93737a5bda12b6677a5ad3f45cf5b1c13c30 /nest/iface.c | |
parent | 9656dce72eead158e6da3ad560720bb0addfe7e2 (diff) |
Integrated address print lengths
Minor changes by Ondrej Santiago Zajicek
Diffstat (limited to 'nest/iface.c')
-rw-r--r-- | nest/iface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nest/iface.c b/nest/iface.c index 5d3c0e60..3eaa5ebd 100644 --- a/nest/iface.c +++ b/nest/iface.c @@ -742,7 +742,7 @@ iface_patts_equal(list *a, list *b, int (*comp)(struct iface_patt *, struct ifac static void if_show_addr(struct ifa *a) { - byte opp[STD_ADDRESS_P_LENGTH + 16]; + byte opp[IPA_MAX_TEXT_LENGTH + 16]; if (ipa_nonzero(a->opposite)) bsprintf(opp, ", opposite %I", a->opposite); @@ -793,7 +793,7 @@ void if_show_summary(void) { struct iface *i; - byte addr[STD_ADDRESS_P_LENGTH + 16]; + byte addr[IPA_MAX_TEXT_LENGTH + 16]; cli_msg(-2005, "interface state address"); WALK_LIST(i, iface_list) |