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

This commit is contained in:
Maciej Żenczykowski 2020-04-02 02:37:19 +00:00 committed by Gerrit Code Review
commit 23bfaae6dc

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;