On Thu, 02 Dec 2010 15:49:48 +0100, Enrico Tassi wrote:

> iodine-start-client removes the default route replacing it with a default 
> route
> that passes trough the tunnel.
> 
>   ## Remove default route via local router
>   ip -4 route del default via ${router} || ${continue_on_error}
> 
> Just after that line the script sets a new default route as expected. If you
> then kill iodine this default route is cleared (since the network interface
> dns0 disappears). The next time you start the script you get this warning
> 
>   WARNING: no default route, guessing local router IP address.
> 
> and the former line fails. I think that, if you consider this as a warning, 
> you
> should record that there was no default route and avoid to try to delete such
> non existing route, or at least avoid to fail (even if the user is root).

Thanks for your bug report, and I agree with your suggestion.

Barak, what do you think about it?

Cheers,
gregor

-- 
 .''`.   http://info.comodo.priv.at/ -- GPG key IDs: 0x8649AA06, 0x00F3CFE4
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe
   `-    NP: Supertramp: Hide In Your Shell

Attachment: signature.asc
Description: Digital signature

Reply via email to