mirror of
https://github.com/opnsense/src.git
synced 2026-04-15 14:29:58 -04:00
carp: use nd6log() macro to log debug messages
Obtained from: Yandex LLC Sponsored by: Yandex LLC
This commit is contained in:
parent
6927176113
commit
0cd2d88d8d
1 changed files with 4 additions and 4 deletions
|
|
@ -517,9 +517,9 @@ nd6_ns_output_fib(struct ifnet *ifp, const struct in6_addr *saddr6,
|
|||
*/
|
||||
if (ifa != NULL && ifa->ifa_carp != NULL &&
|
||||
!(*carp_master_p)(ifa)) {
|
||||
log(LOG_DEBUG,
|
||||
nd6log((LOG_DEBUG,
|
||||
"nd6_ns_output: NS from BACKUP CARP address %s\n",
|
||||
ip6_sprintf(ip6buf, &ip6->ip6_src));
|
||||
ip6_sprintf(ip6buf, &ip6->ip6_src)));
|
||||
ifa_free(ifa);
|
||||
goto bad;
|
||||
}
|
||||
|
|
@ -742,9 +742,9 @@ nd6_na_input(struct mbuf *m, int off, int icmp6len)
|
|||
* the CARP master.
|
||||
*/
|
||||
if (!(*carp_master_p)(ifa)) {
|
||||
log(LOG_DEBUG,
|
||||
nd6log((LOG_DEBUG,
|
||||
"nd6_na_input: NA for BACKUP CARP address %s\n",
|
||||
ip6_sprintf(ip6bufs, &taddr6));
|
||||
ip6_sprintf(ip6bufs, &taddr6)));
|
||||
ifa_free(ifa);
|
||||
goto freeit;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue