diff options
author | SUZUKI, Shinsuke <suz@kame.net> | 2006-12-04 15:32:04 +0000 |
---|---|---|
committer | Bjørn Mork <bjorn@mork.no> | 2010-08-06 15:37:36 +0200 |
commit | c20f5d2a337fc96e5b9a34021fc2c958884cfa48 (patch) | |
tree | a6d9efe4b686c9ef2570b2bf5a800763e14ba6d6 | |
parent | b73261b6f5f0dbb2c0fee2c52278dfbd0ee4aba3 (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 |