fixed IPprefix variable for multi interfaces