[PATCH 5/5] ip-tunnel: choose the correct type based on the ip protocol