Lines Matching refs:expect_nexthop
334 char *expect_nexthop;
381 expect_nexthop = mystrtok(&bp, ":");
382 if ((expect_channel != 0) != (expect_nexthop != 0))
387 if (strcmp(expect_nexthop, "-") == 0)
388 *expect_nexthop = 0;
404 if (expect_nexthop && status) {
414 if (strcmp(expect_nexthop, STR(nexthop)) != 0) {
416 expect_nexthop, STR(nexthop));
419 } else if (expect_nexthop && !status) {
425 msg_warn("expect nexthop '%s' but got none", expect_nexthop);