libs/core: fix bug in contains_interface() implementation of PPPoE protocol