fix config.if_* when iface is not configured/used