igmpproxy icon indicating copy to clipboard operation
igmpproxy copied to clipboard

Implement SIGHUP handler

Open Uglymotha opened this issue 4 years ago • 1 comments

igmpproxy currently lacks a SIGHUP handler to reread the config. Going to implement this as follows. This will be based upon my rework of ifvc.c for issue #62

  1. loadconfig to parse the new config. Taking care of freeing the allocated structs in phyint/vifconf struct. May need a copy of this.
  2. Check for any removed interfaces and call delVIF.
  3. rebuildIfVc. This should take care of rebuilding the rest of the config.

Uglymotha avatar Apr 30 '20 10:04 Uglymotha

Implemented this in my forked repo. Will making testing new wl / bl functionality a lot easier.

Will create a pull request after #63 is accepted

Uglymotha avatar Apr 30 '20 16:04 Uglymotha