From 66e864daf2e71172a4d3cfb9b58b30081337a656 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 5 Dec 2009 09:35:45 +0000 Subject: [PATCH] 2009-12-05 Tatsuhiro Tsujikawa Documented in man page that if getifaddrs() is missing, --interface option doesn't accept interface name. * doc/aria2c.1.txt --- ChangeLog | 6 ++++++ doc/aria2c.1 | 2 +- doc/aria2c.1.html | 8 +++++--- doc/aria2c.1.txt | 6 ++++-- 4 files changed, 16 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 62f5dc33..301c35f4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-12-05 Tatsuhiro Tsujikawa + + Documented in man page that if getifaddrs() is missing, + --interface option doesn't accept interface name. + * doc/aria2c.1.txt + 2009-12-05 Tatsuhiro Tsujikawa Use last 8 bytes of peer ID as 'key' parameter for tracker request. diff --git a/doc/aria2c.1 b/doc/aria2c.1 index e6c1524d..e6601aa5 100644 --- a/doc/aria2c.1 +++ b/doc/aria2c.1 @@ -943,7 +943,7 @@ Bind sockets to given interface\&. You can specify interface name, IP address an .ps -1 .br .sp -If an interface has multiple addresses, it is highly recommended to specify IP address explicitly\&. See also \fB\-\-disable\-ipv6\fR\&. +If an interface has multiple addresses, it is highly recommended to specify IP address explicitly\&. See also \fB\-\-disable\-ipv6\fR\&. If your system doesn\(cqt have getifaddrs(), this option doesn\(cqt accept interface name\&. .sp .5v .RE .PP diff --git a/doc/aria2c.1.html b/doc/aria2c.1.html index 8b040f73..6450eb20 100644 --- a/doc/aria2c.1.html +++ b/doc/aria2c.1.html @@ -1752,8 +1752,10 @@ writes the piece to the appropriate files.
Note
-If an interface has multiple addresses, it is highly recommended to specify -IP address explicitly. See also --disable-ipv6. +If an interface has multiple addresses, it is highly recommended to +specify IP address explicitly. See also --disable-ipv6. If your +system doesn’t have getifaddrs(), this option doesn’t accept interface +name.
@@ -3458,7 +3460,7 @@ files in the program, then also delete it here.


diff --git a/doc/aria2c.1.txt b/doc/aria2c.1.txt index bb384456..d04b9357 100644 --- a/doc/aria2c.1.txt +++ b/doc/aria2c.1.txt @@ -649,8 +649,10 @@ Advanced Options Possible Values: interface, IP address, hostname [NOTE] -If an interface has multiple addresses, it is highly recommended to specify -IP address explicitly. See also *--disable-ipv6*. +If an interface has multiple addresses, it is highly recommended to +specify IP address explicitly. See also *--disable-ipv6*. If your +system doesn't have getifaddrs(), this option doesn't accept interface +name. *--log-level*=LEVEL:: Set log level to output.