Skip to content

Commit 8991a8f

Browse files
committed
Better vnet detection
1 parent 99bf124 commit 8991a8f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

share/pot/common.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,8 @@ _is_vnet_up()
381381
return 1 # false
382382
elif pfctl -s Anchors | grep -q -F '^[ \t]*pot-nat$' ; then
383383
return 1 # false
384+
elif pfctl -s Anchors | grep -q -F '^[ \t]*pot-rdr$' ; then
385+
return 1 # false
384386
elif [ -z "$(pfctl -s nat -a pot-nat)" ]; then
385387
return 1 # false
386388
else

0 commit comments

Comments
 (0)