Fixes a bug where at certain times rtconfig tries to add ipv4 & ipv6 pre...

...fixes into the same prefix list, this patch causes it to look at the address family and output the appropriate prefixes only.