From 4cd1b177de014e99667cb69dba0835a8e05ed375 Mon Sep 17 00:00:00 2001 From: enkore Date: Thu, 7 Mar 2013 18:45:31 +0100 Subject: [PATCH] README --- README.md | 2 ++ i3pystatus/network.py | 1 + 2 files changed, 3 insertions(+) diff --git a/README.md b/README.md index 97283f9..85ddc91 100644 --- a/README.md +++ b/README.md @@ -258,8 +258,10 @@ Available formatters: * {name} same as setting * {v4} IPv4 address * {v4mask} subnet mask +* {v4cidr} IPv4 address in cidr notation (i.e. 192.168.2.204/24) * {v6} IPv6 address * {v6mask} subnet mask +* {v6cidr} IPv6 address in cidr notation * {mac} MAC of interface Not available addresses (i.e. no IPv6 connectivity) are replaced with empty strings. diff --git a/i3pystatus/network.py b/i3pystatus/network.py index 0673a58..da64001 100644 --- a/i3pystatus/network.py +++ b/i3pystatus/network.py @@ -48,6 +48,7 @@ class Network(IntervalModule): * {name} same as setting * {v4} IPv4 address * {v4mask} subnet mask + * {v4cidr} IPv4 address in cidr notation (i.e. 192.168.2.204/24) * {v6} IPv6 address * {v6mask} subnet mask * {v6cidr} IPv6 address in cidr notation