Merge "NetlinkEvent - ignore captive portal and pref64 nd user opts" into rvc-dev

This commit is contained in:
TreeHugger Robot 2020-04-03 18:02:04 +00:00 committed by Android (Google) Code Review
commit f7e5fb6f40

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;