On Wed, Sep 07, 2016 at 09:52:31AM -0600, Charles Arnold wrote: > From 2b4e942ad75f4a4546c417d8bd1116e3af368daf Mon Sep 17 00:00:00 2001 > From: Charles Arnold <carn...@suse.com> > Date: Wed, 7 Sep 2016 09:48:18 -0600 > Subject: [PATCH] tools: fix vif-route add|remove > > vif-route is called twice. First for the vif interface and > second for the vif-emu interface. vif-route takes 4 parameters, > > (add|remove|online|offline) > > When called with 'online|offline' then 'ipcmd' is set. When called > with 'add|remove' then 'ipcmd' is empty ('') and the command, > > ${cmdprefix} ip route ${ipcmd} ${addr} dev ${dev} src ${main_ip} > > will fail. > > Signed-off-by: Charles Arnold <carn...@suse.com>
OK, there is indeed a bug. But do we need to do anything about add / remove? I suppose the script works fine for you with this patch applied? Wei. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel