diff options
| author | Don Slice <dslice@cumulusnetworks.com> | 2017-10-09 15:22:52 +0000 |
|---|---|---|
| committer | Don Slice <dslice@cumulusnetworks.com> | 2017-10-09 16:41:58 +0000 |
| commit | 2f9123e06920a96797a9e139ee3af0dab52f6639 (patch) | |
| tree | 92e66799fa3008d2a78bf7ed414ac54c026c09fa /lib/command_py.c | |
| parent | f4dd8c46200b91fd589cb462739f3aca6b1a766f (diff) | |
bgpd: check for bgp instance before processing interfaces
Problem reported with the log displaying error messages if bgpd was
enabled in /etc/frr/daemons but bgp wasn't actually configured. The
problem was due to operating on interfaces before if_create had been
called (which happens at "router bgp" not at frr starting. Moved the
checks for the bgp instance before operating on interfaces. Manual
testing successful and bgp-smoke completed with no new issues.
Ticket: CM-13504
Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
Reviewed-by: CCR-6738
Diffstat (limited to 'lib/command_py.c')
0 files changed, 0 insertions, 0 deletions
