aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSUZUKI, Shinsuke <suz@kame.net>2006-12-04 15:32:04 +0000
committerBjørn Mork <bjorn@mork.no>2010-08-06 15:37:36 +0200
commitc20f5d2a337fc96e5b9a34021fc2c958884cfa48 (patch)
treea6d9efe4b686c9ef2570b2bf5a800763e14ba6d6
parentb73261b6f5f0dbb2c0fee2c52278dfbd0ee4aba3 (diff)
clarified the behavior of the Info-req mode.
-rw-r--r--CHANGES1
-rw-r--r--dhcp6c.814
2 files changed, 14 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index f8117b7..b1324c2 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,4 +1,5 @@
2006-12-04 SUZUKI, Shinsuke <suz@kame.net>
+ * dhcp6c.8: clarified the behavior of the Info-req mode.
* addrconf.c, common.[ch], configure, configure.in, dhcp6relay.c,
prefixconf.c: introduced a HAVE_SA_LEN macro to support OSes
(other than linux) without length field in sockaddr_*
diff --git a/dhcp6c.8 b/dhcp6c.8
index d82f184..6824ae0 100644
--- a/dhcp6c.8
+++ b/dhcp6c.8
@@ -74,7 +74,19 @@ usually prints warning, debugging, or error messages to
it prints the messages to standard error if this option is
specified.
.It Fl i
-Info-req mode. In this mode, stateless DHCPv6 is executed with an automatic configuration, and the obtained info is written to stdout. After this output, the program is terminated. (suits for a use in shell-script etc)
+Info-req mode. In this mode, stateless DHCPv6 is executed with the folllowing configuration, and the obtained info is written to stdout. After this output,
+.Nm
+is terminated. (suits for a use in shell-script etc).
+.Bd -literal -offset
+ interface (interface given in the argument) {
+ information-only;
+ script (a script which displays the received information to stdout);
+ };
+.Ed
+.Pp
+Since the configuration is internally generated, you cannot provide a configuration in this mode. If you want to have different actions for the stateless DHCPv6 information, you should write an appropriate configuration and invoke
+.Nm
+without this option.
.It Fl p Ar pid-file
Use
.Ar pid-file