tapsql: support IPv4 addr information