X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Flisp-gpe%2Flisp_gpe_adjacency.c;h=8efb97248aa73f296c22c3b5d040602e6804a15f;hb=282872127bbeee6ae59ab3f885c09bad601ee0cc;hp=ffd21a8c13e4fd408831be7fd2afdac8910dd413;hpb=d057625d499525625d60d2207665eaeb755e380e;p=vpp.git diff --git a/src/vnet/lisp-gpe/lisp_gpe_adjacency.c b/src/vnet/lisp-gpe/lisp_gpe_adjacency.c index ffd21a8c13e..8efb97248aa 100644 --- a/src/vnet/lisp-gpe/lisp_gpe_adjacency.c +++ b/src/vnet/lisp-gpe/lisp_gpe_adjacency.c @@ -159,7 +159,7 @@ lisp_gpe_adj_stack (lisp_gpe_adjacency_t * ladj) fib_protocol_t nh_proto; ip46_address_t nh; - ip_address_to_46 (&ladj->remote_rloc, &nh, &nh_proto); + nh_proto = ip_address_to_46 (&ladj->remote_rloc, &nh); /* * walk all the adjacencies on th lisp interface and restack them