plan9port/src/libip/equivip.c

14 lines
146 B
C
Raw Normal View History

2003-11-23 18:23:20 +00:00
#include <u.h>
#include <libc.h>
int
equivip(uchar *a, uchar *b)
{
int i;
for(i = 0; i < 4; i++)
if(a[i] != b[i])
return 0;
return 1;
}