The API of <net/route.h> has changed. The hack for allowing isspace(char) is not needed anymore. The code compiles fine even with -Werror=char-subscripts.