fix - set the current resource device properly.
ifconfig spec - metric and mtu should be strings.