Default interface type to ipv4 when checking flags for Solaris

Fixes #8330