Fixed compilation errors
Fixed IP route parsing