summaryrefslogtreecommitdiffstats
path: root/zebra/interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/interface.c')
-rw-r--r--zebra/interface.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/zebra/interface.c b/zebra/interface.c
index 11c99f73..590a177d 100644
--- a/zebra/interface.c
+++ b/zebra/interface.c
@@ -599,6 +599,10 @@ connected_dump_vty (struct vty *vty, struct connected *connected)
if (connected->scope != 0)
vty_out (vty, " scope %s", connected_scope_name (connected->scope));
#endif
+#ifdef SIOCSIFADDRPREF
+ if (connected->preference != 0)
+ vty_out (vty, " preference %d", connected->preference);
+#endif
if (CHECK_FLAG (connected->flags, ZEBRA_IFA_SECONDARY))
vty_out (vty, " secondary");