Remove #ifdef SMALL, it's a distraction. From otto
This commit is contained in:
parent
f1fbf312bd
commit
2630fc6fbe
@ -561,9 +561,7 @@ main_dispatch_frontend(int fd, short event, void *bula)
|
||||
{
|
||||
// [...]
|
||||
uint32_t if_index;
|
||||
#ifndef SMALL
|
||||
int verbose;
|
||||
#endif /* SMALL */
|
||||
// [...]
|
||||
for (;;) {
|
||||
if ((n = imsg_get(ibuf, &imsg)) == -1)
|
||||
@ -579,7 +577,6 @@ main_dispatch_frontend(int fd, short event, void *bula)
|
||||
memcpy(&if_index, imsg.data, sizeof(if_index));
|
||||
open_bpfsock(if_index);
|
||||
break;
|
||||
#ifndef SMALL
|
||||
case IMSG_CTL_RELOAD:
|
||||
if (main_reload() == -1)
|
||||
log_warnx("configuration reload failed");
|
||||
@ -593,7 +590,6 @@ main_dispatch_frontend(int fd, short event, void *bula)
|
||||
memcpy(&verbose, imsg.data, sizeof(verbose));
|
||||
log_setverbose(verbose);
|
||||
break;
|
||||
#endif /* SMALL */
|
||||
case IMSG_UPDATE_IF:
|
||||
if (IMSG_DATA_SIZE(imsg) != sizeof(imsg_ifinfo))
|
||||
fatalx("%s: IMSG_UPDATE_IF wrong length: %lu",
|
||||
|
Loading…
Reference in New Issue
Block a user