Browse Source

Use netvm_gw_ip instead of netvm_ip

They are usually identical, but this is not guaranteed.
Demi Marie Obenour 3 years ago
parent
commit
0580fe545b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      network/vif-qubes-nat.sh

+ 1 - 1
network/vif-qubes-nat.sh

@@ -95,7 +95,7 @@ if test "$command" == online; then
     fi
 
     netns ip neighbour add to "$appvm_ip" dev "$netns_appvm_if" lladdr "$mac" nud permanent
-    netns ip neighbour add to "$netvm_ip" dev "$netns_netvm_if" lladdr "$netvm_mac" nud permanent
+    netns ip neighbour add to "$netvm_gw_ip" dev "$netns_netvm_if" lladdr "$netvm_mac" nud permanent
     netns ip addr add "$netvm_ip" dev "$netns_netvm_if"
     netns ip addr add "$appvm_gw_ip" dev "$netns_appvm_if"