|
@@ -81,7 +81,7 @@ static int get_first_bpf(void)
|
|
|
* @nb: packets number
|
|
* @nb: packets number
|
|
|
*
|
|
*
|
|
|
*/
|
|
*/
|
|
|
-static void sender(struct ifreq *ifr, size_t nb)
|
|
|
|
|
|
|
+static void sender(const struct ifreq *ifr, size_t nb)
|
|
|
{
|
|
{
|
|
|
static unsigned char dummy;
|
|
static unsigned char dummy;
|
|
|
size_t total = nb + 1;
|
|
size_t total = nb + 1;
|