mirror of
https://git.FreeBSD.org/src.git
synced 2025-02-08 07:03:12 +00:00
changed syslog level to more appropriate ones
Obtained from: KAME Reviewd by: ume, gnn MFC after: 2 weeks
This commit is contained in:
parent
375ef204cd
commit
09f3617564
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=151470
@ -811,7 +811,7 @@ rs_input(int len, struct nd_router_solicit *rs,
|
|||||||
if (nd6_options((struct nd_opt_hdr *)(rs + 1),
|
if (nd6_options((struct nd_opt_hdr *)(rs + 1),
|
||||||
len - sizeof(struct nd_router_solicit),
|
len - sizeof(struct nd_router_solicit),
|
||||||
&ndopts, NDOPT_FLAG_SRCLINKADDR)) {
|
&ndopts, NDOPT_FLAG_SRCLINKADDR)) {
|
||||||
syslog(LOG_DEBUG,
|
syslog(LOG_INFO,
|
||||||
"<%s> ND option check failed for an RS from %s on %s",
|
"<%s> ND option check failed for an RS from %s on %s",
|
||||||
__func__,
|
__func__,
|
||||||
inet_ntop(AF_INET6, &from->sin6_addr,
|
inet_ntop(AF_INET6, &from->sin6_addr,
|
||||||
@ -827,7 +827,7 @@ rs_input(int len, struct nd_router_solicit *rs,
|
|||||||
*/
|
*/
|
||||||
if (IN6_IS_ADDR_UNSPECIFIED(&from->sin6_addr) &&
|
if (IN6_IS_ADDR_UNSPECIFIED(&from->sin6_addr) &&
|
||||||
ndopts.nd_opts_src_lladdr) {
|
ndopts.nd_opts_src_lladdr) {
|
||||||
syslog(LOG_ERR,
|
syslog(LOG_INFO,
|
||||||
"<%s> RS from unspecified src on %s has a link-layer"
|
"<%s> RS from unspecified src on %s has a link-layer"
|
||||||
" address option",
|
" address option",
|
||||||
__func__,
|
__func__,
|
||||||
@ -950,7 +950,7 @@ ra_input(int len, struct nd_router_advert *ra,
|
|||||||
len - sizeof(struct nd_router_advert),
|
len - sizeof(struct nd_router_advert),
|
||||||
&ndopts, NDOPT_FLAG_SRCLINKADDR |
|
&ndopts, NDOPT_FLAG_SRCLINKADDR |
|
||||||
NDOPT_FLAG_PREFIXINFO | NDOPT_FLAG_MTU)) {
|
NDOPT_FLAG_PREFIXINFO | NDOPT_FLAG_MTU)) {
|
||||||
syslog(LOG_ERR,
|
syslog(LOG_INFO,
|
||||||
"<%s> ND option check failed for an RA from %s on %s",
|
"<%s> ND option check failed for an RA from %s on %s",
|
||||||
__func__,
|
__func__,
|
||||||
inet_ntop(AF_INET6, &from->sin6_addr,
|
inet_ntop(AF_INET6, &from->sin6_addr,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user