net/ionic: fix packet type mask