NetlinkEvent - ignore captive portal and pref64 nd user opts

These are provided to userspace by newer kernels.

Test: builds
Bug: 150648313
Change-Id: I811c75e9a4739db149f502b9a43c99a8ed883341
This commit is contained in:
Maciej Żenczykowski 2020-03-31 19:55:06 -07:00
parent db22f23dd3
commit a806a7153f
1 changed files with 4 additions and 0 deletions

View File

@ -529,6 +529,10 @@ bool NetlinkEvent::parseNdUserOptMessage(const struct nlmsghdr *nh) {
free(buf);
} else if (opthdr->nd_opt_type == ND_OPT_DNSSL) {
// TODO: support DNSSL.
} else if (opthdr->nd_opt_type == ND_OPT_CAPTIVE_PORTAL) {
// TODO: support CAPTIVE PORTAL.
} else if (opthdr->nd_opt_type == ND_OPT_PREF64) {
// TODO: support PREF64.
} else {
SLOGD("Unknown ND option type %d\n", opthdr->nd_opt_type);
return false;