Skip to content

hotplugd - add IFEV_LINK_UP event #63

@HidingCherry

Description

@HidingCherry

I am currently using a custom script to try out MAC pinning on a single port.
For this I have to modify the FDB of the switch.

But - every time the link gets down, the fdb table for this interface is flushed.
There is no hotplugd event when the interface gets back up again, so I have to manually run the script - or write another script for a periodic check.

That's where I found out that there is no hotplugd event for this case.
https://git.openwrt.org/?p=project/netifd.git;a=blob;f=interface-event.c;hb=HEAD#l132

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions