Ifconfig is hardcoded in BroControl

Description

From the mailing list:

Hi Folks,

On later versions of Linux distros iproute2 replaces ifconfig with ip

Starting at line 601 at
https://github.com/bro/broctl/blob/master/BroControl/config.py

It looks like ifconfig is hard-written into the logic. Probably needs a
patch to check for the ip command.

Cheers,
Harry

We should probably check for the presence of the ip utility and use that, if present.

Environment

None

Activity

Show:
Jon Schipp
March 10, 2016, 5:32 PM

I added support for the ip tool in branch topic/jschipp/broctl-ip-support

Daniel Thayer
March 11, 2016, 10:39 PM

Merged into master.

Assignee

Daniel Thayer

Reporter

Johanna Amann

Labels

None

External issue ID

None

Components

Fix versions

Affects versions

Priority

Normal
Configure