Browse code

core: when printing the listening sockets on startup print also the advertise-port

Klaus Darilion authored on 07/01/2013 15:22:38
Showing 1 changed files
... ...
@@ -2018,7 +2018,7 @@ void print_all_socket_lists()
2018 2018
 						si->flags & SI_IS_MCAST ? " mcast" : "",
2019 2019
 						si->flags & SI_IS_MHOMED? " mhomed" : "");
2020 2020
 				if (si->useinfo.name.s)
2021
-					printf(" advertise %s", si->useinfo.name.s);
2021
+					printf(" advertise %s:%d", si->useinfo.name.s, si->useinfo.port_no);
2022 2022
 				printf("\n");
2023 2023
 			}
2024 2024
 		}