net: app: Fix issue while configuring local context
net: app: Fix issue while configuring local context

When IPv6 and IPv4 both are enabled and net_app acting as a client,
configuring local context has one glitch.

After selection of IPv6 context as a default context  function
should return immediately, otherwise it continue to select IPv4
context as default context.

Signed-off-by: Ravi kumar Veeramally <406c082aeb452858c41b213a757768e1c1dff29e@linux.intel.com>

zephyriot/zephyr,GiulianoFranchetto/zephyr,finikorg/zephyr,zephyriot/zephyr,GiulianoFranchetto/zephyr,Vudentz/zephyr,Vudentz/zephyr,galak/zephyr,nashif/zephyr,explora26/zephyr,explora26/zephyr,ldts/zephyr,finikorg/zephyr,zephyrproject-rtos/zephyr,galak/zephyr,ldts/zephyr,nashif/zephyr,mbolivar/zephyr,zephyriot/zephyr,punitvara/zephyr,kraj/zephyr,zephyrproject-rtos/zephyr,explora26/zephyr,mbolivar/zephyr,galak/zephyr,punitvara/zephyr,finikorg/zephyr,finikorg/zephyr,Vudentz/zephyr,Vudentz/zephyr,Vudentz/zephyr,Vudentz/zephyr,galak/zephyr,nashif/zephyr,punitvara/zephyr,kraj/zephyr,GiulianoFranchetto/zephyr,mbolivar/zephyr,kraj/zephyr,mbolivar/zephyr,zephyrproject-rtos/zephyr,nashif/zephyr,ldts/zephyr,GiulianoFranchetto/zephyr,galak/zephyr,nashif/zephyr,kraj/zephyr,ldts/zephyr,GiulianoFranchetto/zephyr,finikorg/zephyr,zephyriot/zephyr,explora26/zephyr,zephyrproject-rtos/zephyr,punitvara/zephyr,zephyriot/zephyr,zephyrproject-rtos/zephyr,explora26/zephyr,mbolivar/zephyr,kraj/zephyr,punitvara/zephyr,ldts/zephyr