diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2016-09-21 12:45:46 +0200 | 
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-09-23 12:12:17 -0400 | 
| commit | 518acd6fd802dbb5ab30db7d12b9995f582b824f (patch) | |
| tree | 030866a4aef697a6c87faec9976f1901e1e11059 /qpb | |
| parent | b80f3b245caa3ff1cf40b5a0d7be47540ffd6d4c (diff) | |
fpm/protobuf: fix compile errors & warnings
BABEL was removed, ifname nexthops were removed, additional includes
were needed, and lastly the protobuf enum-handling triggers a warning.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'qpb')
| -rw-r--r-- | qpb/qpb.h | 3 | 
1 files changed, 2 insertions, 1 deletions
@@ -78,6 +78,8 @@ qpb__address_family__get (Qpb__AddressFamily pb_family, u_char *family)    case QPB__ADDRESS_FAMILY__UNKNOWN_AF:      return 0; +  default: /* protobuf "magic value" _QPB__ADDRESS_FAMILY_IS_INT_SIZE */ +    return 0;    }    return 0; @@ -184,7 +186,6 @@ qpb__protocol__set (Qpb__Protocol *pb_proto, int route_type)    case ZEBRA_ROUTE_HSLS:    case ZEBRA_ROUTE_OLSR: -  case ZEBRA_ROUTE_BABEL:    case ZEBRA_ROUTE_MAX:    case ZEBRA_ROUTE_SYSTEM:    default:  | 
