aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-04-04 11:02:55 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-04-04 11:02:55 +0000
commit77f550a02151cefdba9937ddaa410e10dfc3e7bc (patch)
tree0fb7585537a86b0e02cb7c96caa5c04b70eacb74
parentafc8212d6859552d80004054cadaeefe31586ebf (diff)
downloadbusybox-w32-77f550a02151cefdba9937ddaa410e10dfc3e7bc.tar.gz
busybox-w32-77f550a02151cefdba9937ddaa410e10dfc3e7bc.tar.bz2
busybox-w32-77f550a02151cefdba9937ddaa410e10dfc3e7bc.zip
Add/improve comment, shorten some usage texts. No code changes.
git-svn-id: svn://busybox.net/trunk/busybox@18319 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r--include/usage.h74
-rw-r--r--ipsvd/tcpudp.c21
-rw-r--r--ipsvd/udp_io.c2
3 files changed, 57 insertions, 40 deletions
diff --git a/include/usage.h b/include/usage.h
index 5f1bf24cb..8e0da197c 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -37,7 +37,7 @@
37 "Read and optionally set system timebase parameters.\n" \ 37 "Read and optionally set system timebase parameters.\n" \
38 "See adjtimex(2)." \ 38 "See adjtimex(2)." \
39 "\n\nOptions:\n" \ 39 "\n\nOptions:\n" \
40 " -q Quiet mode - do not print\n" \ 40 " -q Quiet\n" \
41 " -o offset Time offset, microseconds\n" \ 41 " -o offset Time offset, microseconds\n" \
42 " -f frequency Frequency adjust, integer kernel units (65536 is 1ppm)\n" \ 42 " -f frequency Frequency adjust, integer kernel units (65536 is 1ppm)\n" \
43 " (positive values make the system clock run fast)\n" \ 43 " (positive values make the system clock run fast)\n" \
@@ -53,7 +53,7 @@
53 " -p Extract to stdout\n" \ 53 " -p Extract to stdout\n" \
54 " -t List\n" \ 54 " -t List\n" \
55 " -x Extract\n" \ 55 " -x Extract\n" \
56 " -v Verbosely list files processed" 56 " -v Verbose"
57 57
58#define arp_trivial_usage \ 58#define arp_trivial_usage \
59 "\n" \ 59 "\n" \
@@ -81,7 +81,7 @@
81 "Ping hosts by ARP requests/replies" \ 81 "Ping hosts by ARP requests/replies" \
82 "\n\nOptions:\n" \ 82 "\n\nOptions:\n" \
83 " -f Quit on first ARP reply\n" \ 83 " -f Quit on first ARP reply\n" \
84 " -q Be quiet\n" \ 84 " -q Quiet\n" \
85 " -b Keep broadcasting, don't go unicast\n" \ 85 " -b Keep broadcasting, don't go unicast\n" \
86 " -D Duplicated address detection mode\n" \ 86 " -D Duplicated address detection mode\n" \
87 " -U Unsolicited ARP mode, update your neighbours\n" \ 87 " -U Unsolicited ARP mode, update your neighbours\n" \
@@ -383,7 +383,7 @@
383 "\n\nOptions:\n" \ 383 "\n\nOptions:\n" \
384 " -l Write the byte numbers (decimal) and values (octal)\n" \ 384 " -l Write the byte numbers (decimal) and values (octal)\n" \
385 " for all differing bytes\n" \ 385 " for all differing bytes\n" \
386 " -s Quiet mode - do not print" 386 " -s Quiet"
387 387
388#define comm_trivial_usage \ 388#define comm_trivial_usage \
389 "[-123] FILE1 FILE2" 389 "[-123] FILE1 FILE2"
@@ -777,7 +777,7 @@
777 " -y Assume 'yes' to all questions\n" \ 777 " -y Assume 'yes' to all questions\n" \
778 " -c Check for bad blocks and add them to the badblock list\n" \ 778 " -c Check for bad blocks and add them to the badblock list\n" \
779 " -f Force checking even if filesystem is marked clean\n" \ 779 " -f Force checking even if filesystem is marked clean\n" \
780 " -v Be verbose\n" \ 780 " -v Verbose\n" \
781 " -b superblock Use alternative superblock\n" \ 781 " -b superblock Use alternative superblock\n" \
782 " -B blocksize Force blocksize when looking for superblock\n" \ 782 " -B blocksize Force blocksize when looking for superblock\n" \
783 " -j journal Set location of the external journal\n" \ 783 " -j journal Set location of the external journal\n" \
@@ -1131,7 +1131,7 @@
1131 "\n -l List names of files that match" \ 1131 "\n -l List names of files that match" \
1132 "\n -L List names of files that do not match" \ 1132 "\n -L List names of files that do not match" \
1133 "\n -n Print line number with output lines" \ 1133 "\n -n Print line number with output lines" \
1134 "\n -q Be quiet. Returns 0 if PATTERN was found, 1 otherwise" \ 1134 "\n -q Quiet. Returns 0 if PATTERN was found, 1 otherwise" \
1135 "\n -v Select non-matching lines" \ 1135 "\n -v Select non-matching lines" \
1136 "\n -s Suppress file open/read error messages" \ 1136 "\n -s Suppress file open/read error messages" \
1137 "\n -c Only print count of matching lines" \ 1137 "\n -c Only print count of matching lines" \
@@ -1548,8 +1548,8 @@
1548 "\n\nOptions:\n" \ 1548 "\n\nOptions:\n" \
1549 " -f Force module to load into the wrong kernel version\n" \ 1549 " -f Force module to load into the wrong kernel version\n" \
1550 " -k Make module autoclean-able\n" \ 1550 " -k Make module autoclean-able\n" \
1551 " -v Verbose output\n" \ 1551 " -v Verbose\n" \
1552 " -q Quiet output\n" \ 1552 " -q Quiet\n" \
1553 " -L Lock to prevent simultaneous loads of a module\n" \ 1553 " -L Lock to prevent simultaneous loads of a module\n" \
1554 USE_FEATURE_INSMOD_LOAD_MAP( \ 1554 USE_FEATURE_INSMOD_LOAD_MAP( \
1555 " -m Output load map to stdout\n") \ 1555 " -m Output load map to stdout\n") \
@@ -2069,11 +2069,11 @@
2069 " -N num Number of inodes to create\n" \ 2069 " -N num Number of inodes to create\n" \
2070 " -o os Set the 'creator os' field\n" \ 2070 " -o os Set the 'creator os' field\n" \
2071 " -O features Dir_index/filetype/has_journal/journal_dev/sparse_super\n" \ 2071 " -O features Dir_index/filetype/has_journal/journal_dev/sparse_super\n" \
2072 " -q Quiet execution\n" \ 2072 " -q Quiet\n" \
2073 " -r rev Set filesystem revision\n" \ 2073 " -r rev Set filesystem revision\n" \
2074 " -S Write superblock and group descriptors only\n" \ 2074 " -S Write superblock and group descriptors only\n" \
2075 " -T fs-type Set usage type (news/largefile/largefile4)\n" \ 2075 " -T fs-type Set usage type (news/largefile/largefile4)\n" \
2076 " -v Verbose execution" 2076 " -v Verbose"
2077 2077
2078#define mkfifo_trivial_usage \ 2078#define mkfifo_trivial_usage \
2079 "[OPTIONS] name" 2079 "[OPTIONS] name"
@@ -2144,10 +2144,10 @@
2144 "Options:\n" \ 2144 "Options:\n" \
2145 " -k Make module autoclean-able\n" \ 2145 " -k Make module autoclean-able\n" \
2146 " -n Just show what would be done\n" \ 2146 " -n Just show what would be done\n" \
2147 " -q Quiet output\n" \ 2147 " -q Quiet\n" \
2148 " -r Remove module (stacks) or do autoclean\n" \ 2148 " -r Remove module (stacks) or do autoclean\n" \
2149 " -s Report via syslog instead of stderr\n" \ 2149 " -s Report via syslog instead of stderr\n" \
2150 " -v Verbose output" 2150 " -v Verbose"
2151#define modprobe_notes_usage \ 2151#define modprobe_notes_usage \
2152"modprobe can (un)load a stack of modules, passing each module options (when\n" \ 2152"modprobe can (un)load a stack of modules, passing each module options (when\n" \
2153"loading). modprobe uses a configuration file to determine what option(s) to\n" \ 2153"loading). modprobe uses a configuration file to determine what option(s) to\n" \
@@ -2269,7 +2269,7 @@
2269#define mountpoint_full_usage \ 2269#define mountpoint_full_usage \
2270 "mountpoint checks if the directory is a mountpoint" \ 2270 "mountpoint checks if the directory is a mountpoint" \
2271 "\n\nOptions:\n" \ 2271 "\n\nOptions:\n" \
2272 " -q Be more quiet\n" \ 2272 " -q Quiet\n" \
2273 " -d Print major/minor device number of the filesystem\n" \ 2273 " -d Print major/minor device number of the filesystem\n" \
2274 " -x Print major/minor device number of the blockdevice" 2274 " -x Print major/minor device number of the blockdevice"
2275#define mountpoint_example_usage \ 2275#define mountpoint_example_usage \
@@ -2500,7 +2500,7 @@
2500 " -c CNT Send only CNT pings\n" \ 2500 " -c CNT Send only CNT pings\n" \
2501 " -s SIZE Send SIZE data bytes in packets (default=56)\n" \ 2501 " -s SIZE Send SIZE data bytes in packets (default=56)\n" \
2502 " -I iface/IP Use interface or IP address as source\n" \ 2502 " -I iface/IP Use interface or IP address as source\n" \
2503 " -q Quiet mode, only displays output at start\n" \ 2503 " -q Quiet, only displays output at start\n" \
2504 " and when finished" 2504 " and when finished"
2505#define ping6_trivial_usage \ 2505#define ping6_trivial_usage \
2506 "[OPTION]... host" 2506 "[OPTION]... host"
@@ -2510,7 +2510,7 @@
2510 " -c CNT Send only CNT pings\n" \ 2510 " -c CNT Send only CNT pings\n" \
2511 " -s SIZE Send SIZE data bytes in packets (default=56)\n" \ 2511 " -s SIZE Send SIZE data bytes in packets (default=56)\n" \
2512 " -I iface/IP Use interface or IP address as source\n" \ 2512 " -I iface/IP Use interface or IP address as source\n" \
2513 " -q Quiet mode, only displays output at start\n" \ 2513 " -q Quiet, only displays output at start\n" \
2514 " and when finished" 2514 " and when finished"
2515#endif 2515#endif
2516#define ping_example_usage \ 2516#define ping_example_usage \
@@ -2649,7 +2649,7 @@
2649 " -p <profile> (Default: /proc/profile)\n" \ 2649 " -p <profile> (Default: /proc/profile)\n" \
2650 " -M <mult> Set the profiling multiplier to <mult>\n" \ 2650 " -M <mult> Set the profiling multiplier to <mult>\n" \
2651 " -i Print only info about the sampling step\n" \ 2651 " -i Print only info about the sampling step\n" \
2652 " -v Print verbose data\n" \ 2652 " -v Verbose\n" \
2653 " -a Print all symbols, even if count is 0\n" \ 2653 " -a Print all symbols, even if count is 0\n" \
2654 " -b Print individual histogram-bin counts\n" \ 2654 " -b Print individual histogram-bin counts\n" \
2655 " -s Print individual counters within functions\n" \ 2655 " -s Print individual counters within functions\n" \
@@ -2992,10 +2992,10 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when
2992 "\n -m|--make-pidfile Create the -p file and enter pid in it" \ 2992 "\n -m|--make-pidfile Create the -p file and enter pid in it" \
2993 "\n -n|--name <process-name> Stop processes with this name" \ 2993 "\n -n|--name <process-name> Stop processes with this name" \
2994 "\n -p|--pidfile <pid-file> Save or load pid using a pid-file" \ 2994 "\n -p|--pidfile <pid-file> Save or load pid using a pid-file" \
2995 "\n -q|--quiet Be quiet" \ 2995 "\n -q|--quiet Quiet" \
2996 USE_FEATURE_START_STOP_DAEMON_FANCY( \ 2996 USE_FEATURE_START_STOP_DAEMON_FANCY( \
2997 "\n -o|--oknodo Exit status 0 if nothing done" \ 2997 "\n -o|--oknodo Exit status 0 if nothing done" \
2998 "\n -v|--verbose Be verbose" \ 2998 "\n -v|--verbose Verbose" \
2999 "\n -N|--nicelevel <N> Add N to process's nice level" \ 2999 "\n -N|--nicelevel <N> Add N to process's nice level" \
3000 ) \ 3000 ) \
3001 "\n -s|--signal <signal> Signal to send (default TERM)" \ 3001 "\n -s|--signal <signal> Signal to send (default TERM)" \
@@ -3238,7 +3238,7 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when
3238 " exclude File to exclude\n" \ 3238 " exclude File to exclude\n" \
3239 " X File with names to exclude\n") \ 3239 " X File with names to exclude\n") \
3240 " C Change to directory DIR before operation\n" \ 3240 " C Change to directory DIR before operation\n" \
3241 " v Verbosely list files processed" 3241 " v Verbose"
3242#define tar_example_usage \ 3242#define tar_example_usage \
3243 "$ zcat /tmp/tarball.tar.gz | tar -xf -\n" \ 3243 "$ zcat /tmp/tarball.tar.gz | tar -xf -\n" \
3244 "$ tar -cf /tmp/tarball.tar /usr/local\n" 3244 "$ tar -cf /tmp/tarball.tar /usr/local\n"
@@ -3330,7 +3330,7 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when
3330/* with not-implemented options: */ 3330/* with not-implemented options: */
3331/* "[-hpEvv] [-c n] [-C n:msg] [-b n] [-u user] [-l name] [-i dir|-x cdb] [ -t sec] ip port prog..." */ 3331/* "[-hpEvv] [-c n] [-C n:msg] [-b n] [-u user] [-l name] [-i dir|-x cdb] [ -t sec] ip port prog..." */
3332#define tcpsvd_full_usage \ 3332#define tcpsvd_full_usage \
3333 "Creates TCP socket, binds it to host:port and listens on in\n" \ 3333 "Creates TCP socket, binds it to ip:port and listens on it\n" \
3334 "for incoming connections. For each connection it runs prog." \ 3334 "for incoming connections. For each connection it runs prog." \
3335 "\n" \ 3335 "\n" \
3336 "\nip IP to listen on. '0' = all" \ 3336 "\nip IP to listen on. '0' = all" \
@@ -3344,13 +3344,13 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when
3344 "\n New connections from this IP address are closed" \ 3344 "\n New connections from this IP address are closed" \
3345 "\n immediately. 'msg' is written to the peer before close" \ 3345 "\n immediately. 'msg' is written to the peer before close" \
3346 "\n-h Look up peer's hostname" \ 3346 "\n-h Look up peer's hostname" \
3347 "\n-E Do not set up TCP-related environment variables" \ 3347 "\n-E Do not set up environment variables" \
3348 "\n-v Verbose" 3348 "\n-v Verbose"
3349 3349
3350#define udpsvd_trivial_usage \ 3350#define udpsvd_trivial_usage \
3351 "[-hEv] [-u user] [-l name] host port prog" 3351 "[-hEv] [-c n] [-u user] [-l name] ip port prog"
3352#define udpsvd_full_usage \ 3352#define udpsvd_full_usage \
3353 "Creates UDP socket, binds it to host:port and listens on in\n" \ 3353 "Creates UDP socket, binds it to ip:port and listens on it\n" \
3354 "for incoming packets. For each packet it runs prog\n" \ 3354 "for incoming packets. For each packet it runs prog\n" \
3355 "(redirecting all further packets with same peer ip:port to it)." \ 3355 "(redirecting all further packets with same peer ip:port to it)." \
3356 "\n" \ 3356 "\n" \
@@ -3361,7 +3361,7 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when
3361 "\n-u user[:group] Change to user/group after bind" \ 3361 "\n-u user[:group] Change to user/group after bind" \
3362 "\n-c n Handle up to n connections simultaneously" \ 3362 "\n-c n Handle up to n connections simultaneously" \
3363 "\n-h Look up peer's hostname" \ 3363 "\n-h Look up peer's hostname" \
3364 "\n-E Do not set up TCP-related environment variables" \ 3364 "\n-E Do not set up environment variables" \
3365 "\n-v Verbose" 3365 "\n-v Verbose"
3366 3366
3367#define tftp_trivial_usage \ 3367#define tftp_trivial_usage \
@@ -3386,7 +3386,7 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when
3386 "Run the program COMMAND with arguments ARGS. When COMMAND finishes,\n" \ 3386 "Run the program COMMAND with arguments ARGS. When COMMAND finishes,\n" \
3387 "COMMAND's resource usage information is displayed." \ 3387 "COMMAND's resource usage information is displayed." \
3388 "\n\nOptions:\n" \ 3388 "\n\nOptions:\n" \
3389 " -v Display verbose resource usage information" 3389 " -v Verbose"
3390 3390
3391#define top_trivial_usage \ 3391#define top_trivial_usage \
3392 "[-b] [-n count] [-d seconds]" 3392 "[-b] [-n count] [-d seconds]"
@@ -3434,18 +3434,16 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when
3434 " -d Set SO_DEBUG options to socket\n" \ 3434 " -d Set SO_DEBUG options to socket\n" \
3435 " -n Print hop addresses numerically rather than symbolically\n" \ 3435 " -n Print hop addresses numerically rather than symbolically\n" \
3436 " -r Bypass the normal routing tables and send directly to a host\n" \ 3436 " -r Bypass the normal routing tables and send directly to a host\n" \
3437 " -v Verbose output\n" \ 3437 " -v Verbose\n" \
3438 " -m max_ttl Set the max time-to-live (max number of hops)\n" \ 3438 " -m max_ttl Max time-to-live (max number of hops)\n" \
3439 " -p port# Set the base UDP port number used in probes\n" \ 3439 " -p port# Base UDP port number used in probes\n" \
3440 " (default is 33434)\n" \ 3440 " (default is 33434)\n" \
3441 " -q nqueries Set the number of probes per 'ttl' to nqueries\n" \ 3441 " -q nqueries Number of probes per 'ttl' (default 3)\n" \
3442 " (default is 3)\n" \ 3442 " -s src_addr IP address to use as the source address\n" \
3443 " -s src_addr Use the following IP address as the source address\n" \ 3443 " -t tos Type-of-service in probe packets (default 0)\n" \
3444 " -t tos Set the type-of-service in probe packets to the following value\n" \ 3444 " -w wait Time in seconds to wait for a response to a probe\n" \
3445 " (default 0)\n" \
3446 " -w wait Set the time (in seconds) to wait for a response to a probe\n" \
3447 " (default 3 sec)\n" \ 3445 " (default 3 sec)\n" \
3448 " -g Specify a loose source route gateway (8 maximum)" 3446 " -g Specify a loose source route gateway (8 max)"
3449 3447
3450 3448
3451#define true_trivial_usage \ 3449#define true_trivial_usage \
@@ -3566,7 +3564,7 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when
3566#define unix2dos_full_usage \ 3564#define unix2dos_full_usage \
3567 "Convert FILE from unix format to dos format. When no option\n" \ 3565 "Convert FILE from unix format to dos format. When no option\n" \
3568 "is given, the input is converted to the opposite output format.\n" \ 3566 "is given, the input is converted to the opposite output format.\n" \
3569 "When no file is given, use stdin for input and stdout for output." \ 3567 "When no file is given, use stdin/stdout." \
3570 "\n\nOptions:\n" \ 3568 "\n\nOptions:\n" \
3571 " -u Output will be in UNIX format\n" \ 3569 " -u Output will be in UNIX format\n" \
3572 " -d Output will be in DOS format" 3570 " -d Output will be in DOS format"
@@ -3580,7 +3578,7 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when
3580 " -n Never overwrite existing files (default)\n" \ 3578 " -n Never overwrite existing files (default)\n" \
3581 " -o Overwrite files without prompting\n" \ 3579 " -o Overwrite files without prompting\n" \
3582 " -p Send output to stdout\n" \ 3580 " -p Send output to stdout\n" \
3583 " -q Be quiet\n" \ 3581 " -q Quiet\n" \
3584 " -x Exclude these files\n" \ 3582 " -x Exclude these files\n" \
3585 " -d Extract files into this directory" 3583 " -d Extract files into this directory"
3586 3584
@@ -3693,7 +3691,7 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when
3693 "Retrieve files via HTTP or FTP" \ 3691 "Retrieve files via HTTP or FTP" \
3694 "\n\nOptions:\n" \ 3692 "\n\nOptions:\n" \
3695 " -c Continue retrieval of aborted transfers\n" \ 3693 " -c Continue retrieval of aborted transfers\n" \
3696 " -q Quiet mode - do not print\n" \ 3694 " -q Quiet\n" \
3697 " -P Set directory prefix to DIR\n" \ 3695 " -P Set directory prefix to DIR\n" \
3698 " -O Save to filename ('-' for stdout)\n" \ 3696 " -O Save to filename ('-' for stdout)\n" \
3699 " -U Adjust 'User-Agent' field\n" \ 3697 " -U Adjust 'User-Agent' field\n" \
diff --git a/ipsvd/tcpudp.c b/ipsvd/tcpudp.c
index 9f098c32e..66f44e9a6 100644
--- a/ipsvd/tcpudp.c
+++ b/ipsvd/tcpudp.c
@@ -331,12 +331,31 @@ int tcpudpsvd_main(int argc, char **argv)
331 * to ones coming from this remote IP. */ 331 * to ones coming from this remote IP. */
332 xconnect(0, &remote.sa, sa_len); 332 xconnect(0, &remote.sa, sa_len);
333 /* hole? at this point we have no wildcard udp socket... 333 /* hole? at this point we have no wildcard udp socket...
334 * can this cause clients to get "port unreachable" icmp? */ 334 * can this cause clients to get "port unreachable" icmp?
335 * Yup, time window is very small, but it exists (is it?) */
335 /* Open new non-connected UDP socket for further clients */ 336 /* Open new non-connected UDP socket for further clients */
336 sock = xsocket(lsa->sa.sa_family, tcp ? SOCK_STREAM : SOCK_DGRAM, 0); 337 sock = xsocket(lsa->sa.sa_family, tcp ? SOCK_STREAM : SOCK_DGRAM, 0);
337 setsockopt_reuseaddr(sock); 338 setsockopt_reuseaddr(sock);
338 xbind(sock, &lsa->sa, sa_len); 339 xbind(sock, &lsa->sa, sa_len);
339 socket_want_pktinfo(sock); 340 socket_want_pktinfo(sock);
341
342 /* Doesn't work:
343 * we cannot replace fd #0 - we will lose pending packet
344 * which is already buffered for us! And we cannot use fd #1
345 * instead - it will "intercept" all following packets, but child
346 * do not expect data coming *from fd #1*! */
347#if 0
348 /* Make it so that local addr is fixed to localp->sa
349 * and we don't accidentally accept packets to other local IPs. */
350 /* NB: we possibly bind to the _very_ same_ address & port as the one
351 * already bound in parent! This seems to work in Linux.
352 * (otherwise we can move socket to fd #0 only if bind succeeds) */
353 close(0);
354 set_nport(localp, htons(local_port));
355 xmove_fd(xsocket(localp->sa.sa_family, SOCK_DGRAM, 0), 0);
356 setsockopt_reuseaddr(0); /* crucial */
357 xbind(0, &localp->sa, localp->len);
358#endif
340 } 359 }
341 360
342 pid = fork(); 361 pid = fork();
diff --git a/ipsvd/udp_io.c b/ipsvd/udp_io.c
index 2efc15913..592d98b58 100644
--- a/ipsvd/udp_io.c
+++ b/ipsvd/udp_io.c
@@ -95,7 +95,7 @@ send_to_from(int fd, void *buf, size_t len, int flags,
95 95
96/* NB: this will never set port# in 'to'! 96/* NB: this will never set port# in 'to'!
97 * _Only_ IP/IPv6 address part of 'to' is _maybe_ modified. 97 * _Only_ IP/IPv6 address part of 'to' is _maybe_ modified.
98 * Typical usage is to preinit it with "default" value 98 * Typical usage is to preinit 'to' with "default" value
99 * before calling recv_from_to(). */ 99 * before calling recv_from_to(). */
100ssize_t 100ssize_t
101recv_from_to(int fd, void *buf, size_t len, int flags, 101recv_from_to(int fd, void *buf, size_t len, int flags,