mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
Fix unused-function waring when compiling with FIB_ALGO.
MFC after: 3 days
This commit is contained in:
1 parent
d51cc252a0
commit
91f2c69ec2
1 file changed
+2
@@ -218,6 +218,7 @@ check_urpf(struct nhop_object *nh, uint32_t flags,
|
||||
return (check_urpf_nhop(nh, flags, src_if));
|
||||
}
|
||||
|
||||
#ifndef FIB_ALGO
|
||||
static struct nhop_object *
|
||||
lookup_nhop(uint32_t fibnum, const struct in6_addr *dst6,
|
||||
uint32_t scopeid)
|
||||
@@ -251,6 +252,7 @@ lookup_nhop(uint32_t fibnum, const struct in6_addr *dst6,
|
||||
|
||||
return (nh);
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Performs reverse path forwarding lookup.
|
||||
|
||||
Reference in new issue
Block a user