dhcprelay: change two more variables to unsigned

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2021-09-02 17:09:12 +02:00
parent 3f2d969db9
commit f02691939e

View File

@ -131,7 +131,7 @@ static int get_dhcp_packet_type(struct dhcp_packet *p)
static char **make_iface_list(char **client_and_server_ifaces, unsigned *client_number)
{
char *s, **iface_list;
int i, cn;
unsigned i, cn;
/* get number of items */
cn = 2; /* 1 server iface + at least 1 client one */