CLOUDSTACK-6241: Fix default route for IPv6 network when IPv4 not used

(cherry picked from commit e406adc081)
This commit is contained in:
Sheng Yang 2014-03-14 13:36:43 -07:00 committed by Daan Hoogland
parent c94158f0fd
commit d00d28105e
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ then
echo "$ipv6 $host" >> $HOSTS
fi
if [ "$dflt" != "" ]
if [ "$dflt" != "" -a "$ipv4" != "" ]
then
#make sure dnsmasq looks into options file
sed -i /dhcp-optsfile/d /etc/dnsmasq.conf