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:
parent
b548f476cc
commit
997dcc87d9
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user