diff options
author | SUZUKI, Shinsuke <suz@kame.net> | 2006-12-04 15:32:04 +0000 |
---|---|---|
committer | SUZUKI, Shinsuke <suz@kame.net> | 2006-12-04 15:32:04 +0000 |
commit | f54afd3c6166dfe292dccc12f265a2378170acfc (patch) | |
tree | a6d9efe4b686c9ef2570b2bf5a800763e14ba6d6 | |
parent | 8c8f330d13a65edf3ef9dcb784ce838f1b9bcf2a (diff) |
clarified the behavior of the Info-req mode.
-rw-r--r-- | CHANGES | 1 | ||||
-rw-r--r-- | dhcp6c.8 | 14 |
2 files changed, 14 insertions, 1 deletions
@@ -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_* @@ -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 |