diff options
author | carlsonj <none@none> | 2007-01-17 08:41:37 -0800 |
---|---|---|
committer | carlsonj <none@none> | 2007-01-17 08:41:37 -0800 |
commit | d04ccbb3f3163ae5962a8b7465d9796bff6ca434 (patch) | |
tree | ee9becc340fed8326cfa6bac8d30f7d4b18313ce /usr/src/lib/libdhcpagent/common/dhcpagent_util.c | |
parent | 1c25cdbd0f6ba3ec11a8ab1653c801027a1ffc61 (diff) | |
download | illumos-gate-d04ccbb3f3163ae5962a8b7465d9796bff6ca434.tar.gz |
PSARC 2006/597 DHCPv6 Client
4863327 dhcp client causes drag
6369116 dhcpagent doesn't notice when logical interfaces disappear
6386331 dhcpagent should implement RFC 4361 client identifier
6450744 dhcpagent prevents aggrs from being deleted
6462355 impact of RELEASE_ON_SIGTERM should be clearer
6464136 Solaris should support the client side of DHCPv6
6482163 libxnet lint library lacks __EXTENSIONS__
6485164 dead rule_zone_specific() rule in ipif_select_source_v6()
6487534 snoop "dhcp" filtering keyword doesn't actually work
6487958 async internal timeout can trample on renew/rebind timer
Diffstat (limited to 'usr/src/lib/libdhcpagent/common/dhcpagent_util.c')
-rw-r--r-- | usr/src/lib/libdhcpagent/common/dhcpagent_util.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/usr/src/lib/libdhcpagent/common/dhcpagent_util.c b/usr/src/lib/libdhcpagent/common/dhcpagent_util.c index eab4a98edb..61101bb66c 100644 --- a/usr/src/lib/libdhcpagent/common/dhcpagent_util.c +++ b/usr/src/lib/libdhcpagent/common/dhcpagent_util.c @@ -19,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2006 Sun Microsystems, Inc. All rights reserved. + * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -67,7 +67,9 @@ dhcp_state_to_string(DHCPSTATE state) "INFORMATION", "INIT_REBOOT", "ADOPTING", - "INFORM_SENT" + "INFORM_SENT", + "DECLINING", + "RELEASING" }; if (state < 0 || state >= DHCP_NSTATES) @@ -242,6 +244,9 @@ dhcp_status_reply_to_string(dhcp_ipc_reply_t *reply) if (status->if_dflags & DHCP_IF_BUSY) (void) strlcat(str, "[BUSY] ", sizeof (str)); + if (status->if_dflags & DHCP_IF_V6) + (void) strlcat(str, "[V6] ", sizeof (str)); + (void) strlcat(str, "\n", sizeof (str)); switch (status->if_state) { |