Interfaces: Add shortcut for enabling / disabling from Interfaces screen, don't show stats for disabled interfaces. Allow saving currently enabled interfaces as a profile, show incoming_announce_frequency in stats, remove interface enable dialog, track changes to show restart hint, extra stats, fixea

This commit is contained in:
zenith 2026-06-08 21:59:15 -04:00
parent fb7b42bea2
commit 6ca3590dc1
3 changed files with 586 additions and 155 deletions

View file

@ -130,6 +130,11 @@ class InterfaceProfiles:
self.save()
return pid
def save_current_as_profile(self, name):
pid = self.create(name)
self.set_members(pid, sorted(self.enabled_set()))
return pid
def rename(self, pid, name):
p = self.get(pid)
if p is not None and name: