Move mld querying code to zebra