commit | 071a09ef070a5eff57c7548be5cdb1bb76c68c23 | [log] [tgz] |
---|---|---|
author | Alexey Kardashevskiy <aik@ozlabs.ru> | Wed Jan 27 19:37:39 2021 +1100 |
committer | Alexey Kardashevskiy <aik@ozlabs.ru> | Fri Feb 12 13:46:16 2021 +1100 |
tree | dec5699da4f786d77e81328fbb76c52e088b80f2 | |
parent | e244301a3192c91ceed8daf8c03afa1c88328e7e [diff] |
libnet: Compile with -Wextra -Wextra enables a bunch of rather useful checks which this fixes. This also fixes unused parameters warning by passing meaningful value and doing sanity checks. Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> --- Changes: v2: * updated commit log about using AF_INET/etc * replaced cast to int with size_t in pxelinux_load_cfg * added (alen == 0) in ping()