[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#282650: approach for fixing this bug



I think this would work:

 - ask the netmask question, and make note of whether the user sees the
   question
 - if so, calculate a gateway as it does now, but if not, and if the
   gateway is not empty, use the existing value

That should be fairly easy to code up and I think it handles all cases
correctly.

Of course do similar for the nameserver question, and only set the
nameserver to the gateway if the gateway question was asked
interactively (or if the nameserver value is empty). Coding that will be
harder, since the code that fills in the nameserver value is nowhere
near the code asking the nameserver question and we'll need to store
state between.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: