summaryrefslogtreecommitdiff
path: root/nest/rt-show.c
diff options
context:
space:
mode:
Diffstat (limited to 'nest/rt-show.c')
-rw-r--r--nest/rt-show.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nest/rt-show.c b/nest/rt-show.c
index 7691878d..a730881b 100644
--- a/nest/rt-show.c
+++ b/nest/rt-show.c
@@ -54,7 +54,8 @@ rt_show_rte(struct cli *c, byte *ia, rte *e, struct rt_show_data *d, int primary
/* Need to normalize the extended attributes */
if (d->verbose && !rta_is_cached(a) && a->eattrs)
- ea_normalize(a->eattrs);
+ if (a->eattrs)
+ ea_normalize(a->eattrs);
get_route_info = a->src->proto->proto->get_route_info;
if (get_route_info)