libs/core: fix various bugs in network model
libs/core: fix various bugs in network model


ReclaimYourPrivacy/cloak-luci,nmav/luci,lcf258/openwrtcn,thess/OpenWrt-luci,chris5560/openwrt-luci,tcatm/luci,aa65535/luci,maxrio/luci981213,nwf/openwrt-luci,palmettos/cnLuCI,RedSnake64/openwrt-luci-packages,rogerpueyo/luci,teslamint/luci,ff94315/luci-1,mumuqz/luci,shangjiyu/luci-with-extra,slayerrensky/luci,oyido/luci,Kyklas/luci-proto-hso,Hostle/luci,rogerpueyo/luci,NeoRaider/luci,db260179/openwrt-bpi-r1-luci,hnyman/luci,981213/luci-1,lcf258/openwrtcn,artynet/luci,aircross/OpenWrt-Firefly-LuCI,thesabbir/luci,sujeet14108/luci,zhaoxx063/luci,thesabbir/luci,ff94315/luci-1,taiha/luci,artynet/luci,lcf258/openwrtcn,schidler/ionic-luci,marcel-sch/luci,male-puppies/luci,oyido/luci,tobiaswaldvogel/luci,zhaoxx063/luci,Hostle/openwrt-luci-multi-user,jlopenwrtluci/luci,david-xiao/luci,urueedi/luci,fkooman/luci,ReclaimYourPrivacy/cloak-luci,schidler/ionic-luci,dismantl/luci-0.12,florian-shellfire/luci,Noltari/luci,hnyman/luci,LazyZhu/openwrt-luci-trunk-mod,slayerrensky/luci,opentechinstitute/luci,schidler/ionic-luci,Hostle/luci,david-xiao/luci,keyidadi/luci,artynet/luci,fkooman/luci,bittorf/luci,fkooman/luci,male-puppies/luci,jlopenwrtluci/luci,lbthomsen/openwrt-luci,LazyZhu/openwrt-luci-trunk-mod,artynet/luci,kuoruan/lede-luci,marcel-sch/luci,Noltari/luci,Hostle/openwrt-luci-multi-user,jorgifumi/luci,daofeng2015/luci,MinFu/luci,Sakura-Winkey/LuCI,ff94315/luci-1,nwf/openwrt-luci,LazyZhu/openwrt-luci-trunk-mod,aircross/OpenWrt-Firefly-LuCI,Wedmer/luci,ReclaimYourPrivacy/cloak-luci,Wedmer/luci,kuoruan/lede-luci,obsy/luci,tobiaswaldvogel/luci,florian-shellfire/luci,Kyklas/luci-proto-hso,Kyklas/luci-proto-hso,dwmw2/luci,kuoruan/luci,Noltari/luci,jorgifumi/luci,Kyklas/luci-proto-hso,openwrt-es/openwrt-luci,jchuang1977/luci-1,MinFu/luci,981213/luci-1,shangjiyu/luci-with-extra,fkooman/luci,Kyklas/luci-proto-hso,thess/OpenWrt-luci,Hostle/openwrt-luci-multi-user,david-xiao/luci,zhaoxx063/luci,fkooman/luci,tobiaswaldvogel/luci,maxrio/luci981213,harveyhu2012/luci,Hostle/luci,shangjiyu/luci-with-extra,zhaoxx063/luci,cappiewu/luci,LuttyYang/luci,shangjiyu/luci-with-extra,wongsyrone/luci-1,jchuang1977/luci-1,lcf258/openwrtcn,teslamint/luci,Hostle/openwrt-luci-multi-user,chris5560/openwrt-luci,sujeet14108/luci,Wedmer/luci,male-puppies/luci,LuttyYang/luci,remakeelectric/luci,wongsyrone/luci-1,taiha/luci,LazyZhu/openwrt-luci-trunk-mod,Noltari/luci,aa65535/luci,taiha/luci,joaofvieira/luci,nmav/luci,Noltari/luci,remakeelectric/luci,kuoruan/lede-luci,lbthomsen/openwrt-luci,david-xiao/luci,fkooman/luci,dwmw2/luci,cshore/luci,bright-things/ionic-luci,dwmw2/luci,jchuang1977/luci-1,marcel-sch/luci,db260179/openwrt-bpi-r1-luci,ReclaimYourPrivacy/cloak-luci,nwf/openwrt-luci,openwrt/luci,dwmw2/luci,slayerrensky/luci,cshore-firmware/openwrt-luci,tcatm/luci,nwf/openwrt-luci,lcf258/openwrtcn,shangjiyu/luci-with-extra,obsy/luci,palmettos/cnLuCI,Sakura-Winkey/LuCI,taiha/luci,palmettos/cnLuCI,ollie27/openwrt_luci,lbthomsen/openwrt-luci,urueedi/luci,palmettos/cnLuCI,joaofvieira/luci,bittorf/luci,aircross/OpenWrt-Firefly-LuCI,palmettos/test,opentechinstitute/luci,palmettos/cnLuCI,mumuqz/luci,urueedi/luci,openwrt/luci,ff94315/luci-1,hnyman/luci,nmav/luci,joaofvieira/luci,Sakura-Winkey/LuCI,lbthomsen/openwrt-luci,sujeet14108/luci,harveyhu2012/luci,kuoruan/luci,ollie27/openwrt_luci,chris5560/openwrt-luci,lcf258/openwrtcn,db260179/openwrt-bpi-r1-luci,oyido/luci,teslamint/luci,joaofvieira/luci,Wedmer/luci,openwrt-es/openwrt-luci,palmettos/test,tcatm/luci,obsy/luci,urueedi/luci,hnyman/luci,RuiChen1113/luci,thesabbir/luci,bittorf/luci,forward619/luci,keyidadi/luci,Kyklas/luci-proto-hso,bittorf/luci,harveyhu2012/luci,LuttyYang/luci,opentechinstitute/luci,aa65535/luci,NeoRaider/luci,openwrt/luci,opentechinstitute/luci,rogerpueyo/luci,aircross/OpenWrt-Firefly-LuCI,oneru/luci,jorgifumi/luci,sujeet14108/luci,cappiewu/luci,nwf/openwrt-luci,palmettos/test,LuttyYang/luci,schidler/ionic-luci,mumuqz/luci,dismantl/luci-0.12,keyidadi/luci,remakeelectric/luci,tobiaswaldvogel/luci,jlopenwrtluci/luci,taiha/luci,Wedmer/luci,LazyZhu/openwrt-luci-trunk-mod,fkooman/luci,db260179/openwrt-bpi-r1-luci,981213/luci-1,wongsyrone/luci-1,MinFu/luci,marcel-sch/luci,male-puppies/luci,RedSnake64/openwrt-luci-packages,Hostle/openwrt-luci-multi-user,dismantl/luci-0.12,Hostle/openwrt-luci-multi-user,tobiaswaldvogel/luci,db260179/openwrt-bpi-r1-luci,deepak78/new-luci,oneru/luci,cshore-firmware/openwrt-luci,dismantl/luci-0.12,maxrio/luci981213,ReclaimYourPrivacy/cloak-luci,oyido/luci,maxrio/luci981213,taiha/luci,dwmw2/luci,joaofvieira/luci,chris5560/openwrt-luci,NeoRaider/luci,keyidadi/luci,openwrt/luci,hnyman/luci,oneru/luci,florian-shellfire/luci,lcf258/openwrtcn,thess/OpenWrt-luci,sujeet14108/luci,Wedmer/luci,nmav/luci,florian-shellfire/luci,palmettos/cnLuCI,shangjiyu/luci-with-extra,maxrio/luci981213,jorgifumi/luci,marcel-sch/luci,schidler/ionic-luci,palmettos/test,hnyman/luci,mumuqz/luci,artynet/luci,kuoruan/lede-luci,Hostle/openwrt-luci-multi-user,schidler/ionic-luci,jorgifumi/luci,forward619/luci,david-xiao/luci,Noltari/luci,sujeet14108/luci,nwf/openwrt-luci,daofeng2015/luci,tobiaswaldvogel/luci,thess/OpenWrt-luci,keyidadi/luci,openwrt/luci,ff94315/luci-1,urueedi/luci,981213/luci-1,slayerrensky/luci,oyido/luci,keyidadi/luci,LuttyYang/luci,Wedmer/luci,cshore-firmware/openwrt-luci,openwrt-es/openwrt-luci,cappiewu/luci,shangjiyu/luci-with-extra,Hostle/luci,tcatm/luci,981213/luci-1,cshore-firmware/openwrt-luci,male-puppies/luci,david-xiao/luci,nmav/luci,bittorf/luci,Noltari/luci,forward619/luci,artynet/luci,deepak78/new-luci,RuiChen1113/luci,harveyhu2012/luci,palmettos/test,jchuang1977/luci-1,lbthomsen/openwrt-luci,oneru/luci,shangjiyu/luci-with-extra,RedSnake64/openwrt-luci-packages,wongsyrone/luci-1,forward619/luci,RuiChen1113/luci,david-xiao/luci,david-xiao/luci,RuiChen1113/luci,MinFu/luci,aircross/OpenWrt-Firefly-LuCI,ollie27/openwrt_luci,cshore-firmware/openwrt-luci,daofeng2015/luci,jlopenwrtluci/luci,dismantl/luci-0.12,lbthomsen/openwrt-luci,ReclaimYourPrivacy/cloak-luci,obsy/luci,deepak78/new-luci,nmav/luci,lcf258/openwrtcn,nwf/openwrt-luci,maxrio/luci981213,oneru/luci,kuoruan/luci,RuiChen1113/luci,joaofvieira/luci,dwmw2/luci,slayerrensky/luci,sujeet14108/luci,bright-things/ionic-luci,aa65535/luci,chris5560/openwrt-luci,nwf/openwrt-luci,thess/OpenWrt-luci,dismantl/luci-0.12,LazyZhu/openwrt-luci-trunk-mod,chris5560/openwrt-luci,RuiChen1113/luci,Sakura-Winkey/LuCI,thesabbir/luci,mumuqz/luci,tcatm/luci,oneru/luci,ReclaimYourPrivacy/cloak-luci,forward619/luci,thesabbir/luci,artynet/luci,forward619/luci,chris5560/openwrt-luci,bittorf/luci,sujeet14108/luci,MinFu/luci,bright-things/ionic-luci,tcatm/luci,cshore/luci,wongsyrone/luci-1,male-puppies/luci,jchuang1977/luci-1,hnyman/luci,Sakura-Winkey/LuCI,lbthomsen/openwrt-luci,ollie27/openwrt_luci,taiha/luci,palmettos/cnLuCI,bright-things/ionic-luci,jchuang1977/luci-1,cshore/luci,aa65535/luci,tcatm/luci,RuiChen1113/luci,RuiChen1113/luci,981213/luci-1,kuoruan/luci,Wedmer/luci,cappiewu/luci,thesabbir/luci,Hostle/luci,Hostle/luci,NeoRaider/luci,aa65535/luci,openwrt-es/openwrt-luci,jlopenwrtluci/luci,palmettos/test,artynet/luci,mumuqz/luci,kuoruan/luci,opentechinstitute/luci,LazyZhu/openwrt-luci-trunk-mod,ReclaimYourPrivacy/cloak-luci,forward619/luci,keyidadi/luci,cshore-firmware/openwrt-luci,kuoruan/luci,ff94315/luci-1,florian-shellfire/luci,urueedi/luci,urueedi/luci,Noltari/luci,teslamint/luci,chris5560/openwrt-luci,cshore-firmware/openwrt-luci,cshore/luci,bright-things/ionic-luci,Sakura-Winkey/LuCI,RedSnake64/openwrt-luci-packages,wongsyrone/luci-1,openwrt-es/openwrt-luci,obsy/luci,kuoruan/lede-luci,cshore/luci,male-puppies/luci,florian-shellfire/luci,ollie27/openwrt_luci,rogerpueyo/luci,oneru/luci,remakeelectric/luci,cshore/luci,male-puppies/luci,openwrt-es/openwrt-luci,zhaoxx063/luci,oyido/luci,thesabbir/luci,lbthomsen/openwrt-luci,Sakura-Winkey/LuCI,Hostle/openwrt-luci-multi-user,lcf258/openwrtcn,slayerrensky/luci,nmav/luci,NeoRaider/luci,urueedi/luci,obsy/luci,ollie27/openwrt_luci,hnyman/luci,teslamint/luci,deepak78/new-luci,deepak78/new-luci,schidler/ionic-luci,remakeelectric/luci,zhaoxx063/luci,db260179/openwrt-bpi-r1-luci,harveyhu2012/luci,RedSnake64/openwrt-luci-packages,zhaoxx063/luci,rogerpueyo/luci,cappiewu/luci,openwrt/luci,keyidadi/luci,opentechinstitute/luci,maxrio/luci981213,cshore/luci,bright-things/ionic-luci,jchuang1977/luci-1,nmav/luci,db260179/openwrt-bpi-r1-luci,opentechinstitute/luci,opentechinstitute/luci,teslamint/luci,taiha/luci,RedSnake64/openwrt-luci-packages,bright-things/ionic-luci,jlopenwrtluci/luci,remakeelectric/luci,cappiewu/luci,thess/OpenWrt-luci,db260179/openwrt-bpi-r1-luci,lcf258/openwrtcn,cshore/luci,daofeng2015/luci,tobiaswaldvogel/luci,mumuqz/luci,deepak78/new-luci,NeoRaider/luci,rogerpueyo/luci,LuttyYang/luci,remakeelectric/luci,cappiewu/luci,openwrt-es/openwrt-luci,aa65535/luci,MinFu/luci,thess/OpenWrt-luci,kuoruan/luci,dwmw2/luci,LuttyYang/luci,daofeng2015/luci,joaofvieira/luci,jlopenwrtluci/luci,wongsyrone/luci-1,NeoRaider/luci,981213/luci-1,remakeelectric/luci,daofeng2015/luci,cappiewu/luci,marcel-sch/luci,jorgifumi/luci,wongsyrone/luci-1,LuttyYang/luci,harveyhu2012/luci,aircross/OpenWrt-Firefly-LuCI,bittorf/luci,marcel-sch/luci,deepak78/new-luci,cshore-firmware/openwrt-luci,RedSnake64/openwrt-luci-packages,deepak78/new-luci,harveyhu2012/luci,Hostle/luci,aircross/OpenWrt-Firefly-LuCI,rogerpueyo/luci,artynet/luci,tobiaswaldvogel/luci,oneru/luci,teslamint/luci,obsy/luci,forward619/luci,thesabbir/luci,slayerrensky/luci,jorgifumi/luci,oyido/luci,NeoRaider/luci,fkooman/luci,openwrt-es/openwrt-luci,oyido/luci,Sakura-Winkey/LuCI,florian-shellfire/luci,bright-things/ionic-luci,Hostle/luci,LazyZhu/openwrt-luci-trunk-mod,maxrio/luci981213,florian-shellfire/luci,joaofvieira/luci,kuoruan/lede-luci,ff94315/luci-1,aa65535/luci,kuoruan/lede-luci,dwmw2/luci,palmettos/test,bittorf/luci,palmettos/test,palmettos/cnLuCI,teslamint/luci,daofeng2015/luci,zhaoxx063/luci,nmav/luci,jorgifumi/luci,mumuqz/luci,openwrt/luci,MinFu/luci,kuoruan/lede-luci,ollie27/openwrt_luci,ff94315/luci-1,slayerrensky/luci,Kyklas/luci-proto-hso,jlopenwrtluci/luci,jchuang1977/luci-1,schidler/ionic-luci,Noltari/luci,daofeng2015/luci,openwrt/luci,marcel-sch/luci,thess/OpenWrt-luci,rogerpueyo/luci,ollie27/openwrt_luci,MinFu/luci,obsy/luci,dismantl/luci-0.12,tcatm/luci,kuoruan/luci