diff options
author | 2013-07-08 12:08:28 +0200 | |
---|---|---|
committer | 2013-07-08 12:08:28 +0200 | |
commit | af1f5cd8a2db5c7309bcc1920f11e7be01581137 (patch) | |
tree | f82593403b3054f48f21605a72798ee6f3968677 /netlink-notify.c | |
parent | e43ba7d1a240e3442320ca2c5e7d9c24f6feb2c3 (diff) | |
download | netlink-notify-dcacce4dbed5aa58c0f34fc15b27741d2bbc88c9.tar.gz netlink-notify-dcacce4dbed5aa58c0f34fc15b27741d2bbc88c9.tar.zst |
add new icon0.6.1
Diffstat (limited to 'netlink-notify.c')
-rw-r--r-- | netlink-notify.c | 3 |
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]); |