mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-18 02:55:12 +00:00
should be in_port_t
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@673 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
parent
0a6697912b
commit
2783fa94a9
@ -2902,8 +2902,8 @@ static struct text_object *construct_text_object(const char *s, const char *arg,
|
|||||||
CRIT_ERR("tcp_portmon: connection index must be non-negative");
|
CRIT_ERR("tcp_portmon: connection index must be non-negative");
|
||||||
}
|
}
|
||||||
/* ok, args looks good. save the text object data */
|
/* ok, args looks good. save the text object data */
|
||||||
obj->data.tcp_port_monitor.port_range_begin = (in_addr_t)port_begin;
|
obj->data.tcp_port_monitor.port_range_begin = (in_port_t)port_begin;
|
||||||
obj->data.tcp_port_monitor.port_range_end = (in_addr_t)port_end;
|
obj->data.tcp_port_monitor.port_range_end = (in_port_t)port_end;
|
||||||
obj->data.tcp_port_monitor.item = item;
|
obj->data.tcp_port_monitor.item = item;
|
||||||
obj->data.tcp_port_monitor.connection_index = connection_index;
|
obj->data.tcp_port_monitor.connection_index = connection_index;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user