Correcting IPv6 bug
This commit is contained in:
parent
0d9ba4deef
commit
6b0cc45074
|
@ -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…
Reference in a new issue