I've just found that -i on the command line no longer works;
try creating a config file without an interface: directive, and specify -i
eth1 -f config; you'll see that pcap_lookupdev gets called and chooses as if
no interface was specified at all.
Here's a patch that just adds the debug log showing what device has been
chosen:
--- orig/pmacctd.c
+++ mod/pmacctd.c
@@ -334,6 +334,7 @@
if (!config.dev && !config.pcap_savefile) {
Log(LOG_WARNING, "WARN ( default/core ): Selecting a suitable device.\n");
config.dev = pcap_lookupdev(errbuf);
+ Log(LOG_DEBUG, "DEBUG ( default/core ): device is %s\n", config.dev);
if (!config.dev) {
Log(LOG_WARNING, "WARN ( default/core ): Unable to find a suitable
device. Exiting.\n");
exit(1);