VERBOSE (morep, INFO, FPRINTF (stdout, "memory cleaned\n"));
}
-void __attribute__((constructor)) _init_morep_ (void)
+void __attribute__ ((constructor)) _init_morep_ (void)
{
alloc_all_moreps ();
atexit (free_all_moreps);
return -1;
}
- int sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL));
+ int sock = socket (PF_PACKET, SOCK_RAW, htons (ETH_P_ALL));
if (sock < 0) {
VERBOSE (morep, ERROR, PRINTF ("socket(): %s\n", strerror (errno)));
VERBOSE (morep, ERROR, PRINTF ("Warning: you must be root to have raw access to sockets\n"));