X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Ffib%2Ffib_path.c;h=3a67a544ecab90fddf6bd531f9eaed2fbb8d4ade;hb=a0a908f1dfb679c384ab34ee3c1a2a63ba2448df;hp=00a3fa63d449f916a451ff21e085c28d0ed41710;hpb=42e6b097e02b80779213aa5c14a5202ecd5913e5;p=vpp.git diff --git a/src/vnet/fib/fib_path.c b/src/vnet/fib/fib_path.c index 00a3fa63d44..3a67a544eca 100644 --- a/src/vnet/fib/fib_path.c +++ b/src/vnet/fib/fib_path.c @@ -198,13 +198,14 @@ typedef struct fib_path_t_ { /** * UCMP [unnormalised] weigth */ - u16 fp_weight; + u8 fp_weight; + /** * A path preference. 0 is the best. * Only paths of the best preference, that are 'up', are considered * for forwarding. */ - u16 fp_preference; + u8 fp_preference; /** * per-type union of the data required to resolve the path