Skip to content

Commit cd2ba90

Browse files
Sheng Yangchaturvedia
authored andcommitted
CLOUDSTACK-6241: Fix default route for IPv6 network when IPv4 not used
(cherry picked from commit e406adc) Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
1 parent 5973a42 commit cd2ba90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

systemvm/patches/debian/config/root/edithosts.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ then
184184
echo "$ipv6 $host" >> $HOSTS
185185
fi
186186

187-
if [ "$dflt" != "" ]
187+
if [ "$dflt" != "" -a "$ipv4" != "" ]
188188
then
189189
#make sure dnsmasq looks into options file
190190
sed -i /dhcp-optsfile/d /etc/dnsmasq.conf

0 commit comments

Comments
 (0)