X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fnat%2Fnat_mini.c;h=52a4e86b0ccb666df9d1a15014351ca40ddad66a;hb=cddbdf5b928c68ab71b40c950b9f01ea68a9fbdb;hp=1f5a83d2d8c417d2b732e9ecbf4ed62b09b443a6;hpb=bb4fc4f4007988874f910d4de5492f9629301641;p=oweals%2Fgnunet.git diff --git a/src/nat/nat_mini.c b/src/nat/nat_mini.c index 1f5a83d2d..52a4e86b0 100644 --- a/src/nat/nat_mini.c +++ b/src/nat/nat_mini.c @@ -361,12 +361,12 @@ process_refresh_output (void *cls, const char *line) } /* * we're looking for output of the form: - * + * * "0 TCP 3000->192.168.2.150:3000 'libminiupnpc' ''" * "1 UDP 3001->192.168.2.150:3001 'libminiupnpc' ''" - * + * * the pattern we look for is: - * + * * "%s TCP PORT->STRING:OURPORT *" or * "%s UDP PORT->STRING:OURPORT *" */ @@ -439,7 +439,7 @@ process_map_output (void *cls, const char *line) } /* * The upnpc output we're after looks like this: - * + * * "external 87.123.42.204:3000 TCP is redirected to internal 192.168.2.150:3000" */ if ((NULL == (ipaddr = strstr (line, " "))) || @@ -475,7 +475,7 @@ process_map_output (void *cls, const char *line) * general-purpose 'GNUNET_NAT_register' code). However, it can be * used if specifically UPnP-based NAT traversal is to be used or * tested. - * + * * @param port port to map * @param is_tcp GNUNET_YES to map TCP, GNUNET_NO for UDP * @param ac function to call with mapping result @@ -539,7 +539,7 @@ process_unmap_output (void *cls, const char *line) * this function will give 'upnpc' 1s to remove tha mapping, * so while this function is non-blocking, a task will be * left with the scheduler for up to 1s past this call. - * + * * @param mini the handle */ void