Error description
parent
3fdeb6a136
commit
d188663917
2
main.c
2
main.c
|
@ -260,7 +260,7 @@ void init() {
|
|||
struct ifreq interfaceRequest;
|
||||
size_t max_if_name_len = sizeof(interfaceRequest.ifr_name);
|
||||
if (if_name_len > max_if_name_len) {
|
||||
printf("Interface name is too long (max length is %lu)\n", max_if_name_len);
|
||||
printf("Interface name is too long\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue