1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-17 18:45:10 +00:00

fix build without ipv6 support

This commit is contained in:
Nikolas Garofil 2011-02-11 00:27:12 +01:00
parent b548f476cc
commit 997dcc87d9

View File

@ -106,7 +106,9 @@ void parse_net_stat_arg(struct text_object *obj, const char *arg, void *free_at_
if(*dev==0) strcpy(dev, DEFAULTNETDEV);
struct net_stat *netstat = get_net_stat(dev, obj, free_at_crash);
#ifdef BUILD_IPV6
netstat->v6show_nm = shownetmask;
#endif /* BUILD_IPV6 */
obj->data.opaque = netstat;
}