summaryrefslogtreecommitdiffstats
path: root/netlink-notify.c
diff options
context:
space:
mode:
Diffstat (limited to 'netlink-notify.c')
-rw-r--r--netlink-notify.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/netlink-notify.c b/netlink-notify.c
index 0e88458..f22c5b6 100644
--- a/netlink-notify.c
+++ b/netlink-notify.c
@@ -39,6 +39,7 @@
#define ICON_NETWORK_ADDRESS "netlink-notify-address"
#define ICON_NETWORK_UP "netlink-notify-up"
#define ICON_NETWORK_DOWN "netlink-notify-down"
+#define ICON_NETWORK_AWAY "netlink-notify-away"
#define TEXT_TOPIC "Netlink Notification"
#define TEXT_NEWLINK "Interface <b>%s</b> is <b>%s</b>."
@@ -351,7 +352,7 @@ static int msg_handler (struct sockaddr_nl *nl, struct nlmsghdr *msg) {
case RTM_DELLINK:
notifystr = newstr_away(TEXT_DELLINK, name[ifi->ifi_index]);
- icon = ICON_NETWORK_DOWN;
+ icon = ICON_NETWORK_AWAY;
free_chain(&addresses_seen[ifi->ifi_index]);
free(name[ifi->ifi_index]);