ipconfig: add static to local variable