summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJosé JORGE [zezinho] <lists.jjorge@free.fr>2018-09-23 16:30:23 +0200
committerJosé JORGE [zezinho] <lists.jjorge@free.fr>2018-09-23 16:30:23 +0200
commitb4dd8c0d3de15f6d839ee560652419d018f161ce (patch)
treeeecebc251a50fa66c2900ca70c41d8f1091914ef /bin
parentdec711a7b970c4e71872a5842522eefba9fda6b7 (diff)
downloaddrakx-net-b4dd8c0d3de15f6d839ee560652419d018f161ce.tar
drakx-net-b4dd8c0d3de15f6d839ee560652419d018f161ce.tar.gz
drakx-net-b4dd8c0d3de15f6d839ee560652419d018f161ce.tar.bz2
drakx-net-b4dd8c0d3de15f6d839ee560652419d018f161ce.tar.xz
drakx-net-b4dd8c0d3de15f6d839ee560652419d018f161ce.zip
show IPv6 address if a global one was given
Diffstat (limited to 'bin')
-rwxr-xr-xbin/net_applet1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/net_applet b/bin/net_applet
index 74569ec..cf82de8 100755
--- a/bin/net_applet
+++ b/bin/net_applet
@@ -99,6 +99,7 @@ sub get_state_message {
formatAlaTeX(
$current_state eq 'connected' ?
N("Network is up on interface %s.", get_interface_name($interface)) .
+ "\n\n" . N("IPv6 address: %s", network::tools::get_interface_ip6_address($net, $interface)) .
"\n\n" . N("IP address: %s", network::tools::get_interface_ip_address($net, $interface)) .
"\n\n" . N("Gateway: %s", [ network::tools::get_interface_status($interface) ]->[1]) .
"\n\n" . N("DNS: %s", $net->{resolv}{dnsServer}) .