1
0
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:
Philip Kovacs 2006-06-19 00:01:51 +00:00
parent 0a6697912b
commit 2783fa94a9

View File

@ -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");
}
/* 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_end = (in_addr_t)port_end;
obj->data.tcp_port_monitor.port_range_begin = (in_port_t)port_begin;
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.connection_index = connection_index;