Browse Source

Correcting IPv6 bug

master
Alarig Le Lay 2 years ago
parent
commit
6b0cc45074
Signed by: alarig
GPG Key ID: 7AFE62C6DF8BCDEC
  1. 2
      creationRoutesVM.sh

2
creationRoutesVM.sh

@ -119,7 +119,7 @@ IFACE="tap${VM_ID}i0"
IP4_NEIGH="$(ip -4 neigh show dev ${IFACE})"
IP6_NEIGH="$(ip -6 neigh show dev ${IFACE})"
IP4_ROUTE="$(ip -4 route show dev ${IFACE})"
IP6_ROUTE="$(ip -6 route show dev ${IFACE})"
IP6_ROUTE="$(ip -6 route show dev ${IFACE} | grep -vF 'fe80::/64')"
if [ "${IP4_NEIGH}" ] && [ "${IP6_NEIGH}" ] && [ "${IP4_ROUTE}" ] && [ "${IP6_ROUTE}" ]; then
write_log INFO 'Nothing to do'

Loading…
Cancel
Save