commit | 7fa7acb4926f2a0d1fb5eb0834ae6c60b8ba5147 | [log] [tgz] |
---|---|---|
author | Paul Jakma <paul@jakma.org> | Fri Jan 20 18:16:04 2017 +0000 |
committer | Paul Jakma <paul@quagga.net> | Fri Jan 27 14:53:30 2017 +0000 |
tree | e0f86d036d9a5bbd9c3d7d8ee28b71260c64cbcc | |
parent | 3334bab0d96b2d7064111e025ff6294d6a32d026 [diff] |
bgpd: Fix unhandled enum warning for AFI_ETHER * bgp_open.c: (bgp_afi_safi_valid_indices) We have AFI_ETHER defined, but don't handle it at this point.
diff --git a/bgpd/bgp_open.c b/bgpd/bgp_open.c index 7b8b657..2800423 100644 --- a/bgpd/bgp_open.c +++ b/bgpd/bgp_open.c
@@ -143,6 +143,8 @@ case SAFI_ENCAP: return 1; } + case AFI_ETHER: + default: break; }