]> git.ipfire.org Git - ipfire-2.x.git/commit
setup: v2 Fixes bug10245 - removal of so called non-local network stop
authorAdolf Belka <adolf.belka@ipfire.org>
Thu, 19 Jun 2025 16:04:18 +0000 (18:04 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 23 Jun 2025 10:38:02 +0000 (10:38 +0000)
commita21bc6e7ee0aab5b134e5058855eb634e9c892f1
tree6ee3ae0d4c69ae23670e29518f675eb5a51d7904
parentdba199447f129f67a7ff0c36d25511643810222c
setup: v2 Fixes bug10245 - removal of so called non-local network stop

- In the setup menu if the OK button is pressed when it asks if you want to change any
   of the interfaces then the red, blue and orange interfaces are stopped. However if
   none of the interfaces are changed then the network restart code does not get used.
- This results in the system ending up with only the green interfrace being UP and
   connected.
- This patch removes the command that stops the red, blue & orange interfaces but leaves
   the green one running. It seems to not bhe needed and if the OK button is pressed
   on the Drivers and card assignments window but no change made then the IPFire system
   is left with only the green interface connected.
- This command has been present since at least Core Update 30 and the bug was originally
   raised in 2012.
- I tested out this v2 code on my vm testbed and everything worked fine and if any
   change was made then when leaving the Networking section the Network and Unbound were
   restarted.

Fixes: bug10245
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/setup/networking.c