Revision 0363b080
ID | 0363b0807dc241f87ff7bbd5bd869dcb22ec645a |
return in case expected env vars are not set
In case of IPv6 only setup, IP environment variable should not be
set. Still if we have a routed setup routed_setup_ipv4() gets invoked.
This means that the following command will be invoked:
ip route replace proto static dev tap3 table public
This replaces default route!!
With this patch fixes routed_setup* functions to return early
in case expected environment vars are not set.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Files
- added
- modified
- copied
- renamed
- deleted