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

This commit is contained in:
Sheng Yang 2014-03-14 13:36:43 -07:00
parent 657d042953
commit e406adc081
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