lib: make interface metric a uint32_t

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
Quentin Young 2017-01-09 01:35:41 +00:00
parent 9577471362
commit d92c729ba5

View File

@ -227,7 +227,7 @@ struct interface
uint64_t flags; uint64_t flags;
/* Interface metric */ /* Interface metric */
int metric; uint32_t metric;
/* Interface MTU. */ /* Interface MTU. */
unsigned int mtu; /* IPv4 MTU */ unsigned int mtu; /* IPv4 MTU */