fixed format string
authorBernd Petrovitsch <bernd@firmix.at>
Sat, 1 Nov 2008 01:05:36 +0000 (02:05 +0100)
committerBernd Petrovitsch <bernd@firmix.at>
Sat, 1 Nov 2008 01:05:36 +0000 (02:05 +0100)
src/cfgparser/olsrd_conf.c

index 4d7ac52..36e0a70 100644 (file)
@@ -674,7 +674,7 @@ olsrd_print_cnf(const struct olsrd_config *cnf)
     printf("HNA%d entries:\n", cnf->ip_version == AF_INET ? 4 : 6);
     while(h) {
       struct ipprefix_str prefixstr;
-      printf("\t%s/", olsr_ip_prefix_to_string(&prefixstr, &h->net));
+      printf("\t%s\n", olsr_ip_prefix_to_string(&prefixstr, &h->net));
       h = h->next;
     }
   }