diff options
| author | Don Slice <dslice@cumulusnetworks.com> | 2016-07-19 10:37:08 -0700 |
|---|---|---|
| committer | Don Slice <dslice@cumulusnetworks.com> | 2016-07-19 10:37:08 -0700 |
| commit | 5ab21c60df3bcf9b58679e0ee9ec6d5ca78dc833 (patch) | |
| tree | 96cf20d52dd34a77e2e782053bb97741a260c010 /zebra/interface.c | |
| parent | 633e504d0a87cbaac2a700ceb667be04281064bf (diff) | |
| parent | 5be7afc8bb6dce6f6bcf77faad3a754e52812408 (diff) | |
Merge branch 'cmaster-next' of ssh://stash.cumulusnetworks.com:7999/quag/quagga into cmaster-next
Diffstat (limited to 'zebra/interface.c')
| -rw-r--r-- | zebra/interface.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/zebra/interface.c b/zebra/interface.c index 87a426fdc4..c3ce83dd4a 100644 --- a/zebra/interface.c +++ b/zebra/interface.c @@ -2114,10 +2114,8 @@ if_config_write (struct vty *vty) if (ifp->bandwidth != 0) vty_out(vty, " bandwidth %u%s", ifp->bandwidth, VTY_NEWLINE); - if (CHECK_FLAG(ifp->status, ZEBRA_INTERFACE_LINKDETECTION)) - vty_out(vty, " link-detect%s", VTY_NEWLINE); - else - vty_out(vty, " no link-detect%s", VTY_NEWLINE); + if (!CHECK_FLAG(ifp->status, ZEBRA_INTERFACE_LINKDETECTION)) + vty_out(vty, " no link-detect%s", VTY_NEWLINE); for (ALL_LIST_ELEMENTS_RO (ifp->connected, addrnode, ifc)) { |
