NetlinkEvent - ignore captive portal and pref64 nd user opts
These are provided to userspace by newer kernels. Test: builds Bug: 150648313 Change-Id: I811c75e9a4739db149f502b9a43c99a8ed883341 Merged-In: I811c75e9a4739db149f502b9a43c99a8ed883341
This commit is contained in:
parent
6bd3bc8d01
commit
1aa0274299
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue