summaryrefslogtreecommitdiffstats
path: root/qpb
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2016-09-21 12:45:46 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-09-23 18:12:17 +0200
commit518acd6fd802dbb5ab30db7d12b9995f582b824f (patch)
tree030866a4aef697a6c87faec9976f1901e1e11059 /qpb
parentzebra: add developer test functions for FPM code (diff)
downloadfrr-518acd6fd802dbb5ab30db7d12b9995f582b824f.tar.xz
frr-518acd6fd802dbb5ab30db7d12b9995f582b824f.zip
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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qpb/qpb.h b/qpb/qpb.h
index 55c1deb19..ad5bdc8b8 100644
--- a/qpb/qpb.h
+++ b/qpb/qpb.h
@@ -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: