Skip to content

Commit ac170e6

Browse files
committed
remove ip route del
1 parent 0ea4196 commit ac170e6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

app/frontend/components/sites_content.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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()

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ echo "---------------------------------------------"
6969
echo "allowing route to local host by routing "
7070
echo " all traffic from inside to outside trough "
7171
echo " 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' ')

0 commit comments

Comments
 (0)