File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,7 @@ def _set_warp_info(self) -> str:
102102 if not isinstance (info ,dict ): return f"Error: { info } "
103103 mysubnet = self .api .warp_my_subnet ()
104104 nat_target_subnet = self .api .nat_get_target ()
105+ nat_target_subnet = nat_target_subnet ['target' ] if 'target' in nat_target_subnet .keys () else nat_target_subnet
105106 myip = self .api .warp_my_ip ()
106107 vnets = self .api .warp_get_vnets ()
107108 docker_if = self .api .docker_interfaces ()
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ echo "---------------------------------------------"
6969echo " allowing route to local host by routing "
7070echo " all traffic from inside to outside trough "
7171echo " the default interface and not the macvlan "
72- ip route del ${SUBNET}
72+ # ip route del ${SUBNET}
7373
7474# old
7575# localip=$(hostname -i | cut -f1 -d' ')
You can’t perform that action at this time.
0 commit comments