Editing a connection with on-link routes starts with form errors
Steps to reproduce:
-
Open GNOME Settings
-
Open the Network panel
-
Add a new PPTP VPN, fill the general settings (Identity -> General -> Gateway should be enough), and go to the IPv4 tab
-
Add a route with "0.0.0.0" as Gateway
-
Save the VPN with the "Add" button
-
Click the "settings" button next to the new VPN in the Network panel
-
Notice the "Apply" button is disabled
-
Go to the IPv4 tab, notice the Gateway is cleared and marked as error: