fix undefined packet type
Merge pull request #633 from nkzawa/patch-3

Fix undefined packet type