ifup: fix handling when ip env is not given
This patch handles the ip env to "" if no ip env is given. Otherwise
we get a NULL pointer derefence.

Signed-off-by: Alexander Aring <aar@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 6ac698a commit b0e1847f134e7ec90f41623a8cbe6ce2f941ddde
@Alexander Aring Alexander Aring authored on 14 Jun 2016
Sascha Hauer committed on 15 Jun 2016
Showing 1 changed file
View
net/ifup.c