netcardconfig: avoid suggesting default gateway if a default route exists already
authorMichael Prokop <mika@grml.org>
Wed, 17 Aug 2022 12:05:25 +0000 (14:05 +0200)
committerMichael Prokop <mika@grml.org>
Wed, 17 Aug 2022 12:05:25 +0000 (14:05 +0200)
commit5681e2bcbd6864dfba753aa4a9f240d30ac085b6
treee83656fc700f42605f2cac3d1981ab3fdd91c5ce
parentab3ad1162ab10673efd3022a26792cad60633767
netcardconfig: avoid suggesting default gateway if a default route exists already

When multiple NICs are present, a default gateway might exist already,
while adding another default gateway then fails and is confusing.
So instead let's present an empty input text dialog then, so the
defaults should work fine.

See https://github.com/grml/grml-terminalserver/issues/4
sbin/netcardconfig