On Tue, Feb 20, 2018 at 09:49:30PM -0800, Ayaka Koshibe wrote: > On Tue, Feb 20, 2018 at 5:08 AM, Stefan Sperling <s...@stsp.name> wrote: > > I haven't tested this idea, though. > > Does your change work without the new function unsetrdomain? > > I.e. a diff which only adds this to ifconfig.c: > > > > + { "-rdomain", 0, 0, setrdomain }, > > I added the new function because I saw that setrdomain() is passing > the id to strtonum() first thing, and I thought I'd need to modify > setrdomain() otherwise.
You are right, my idea doesn't work. Sorry, I should have just waited until I could test this idea myself before proposing it.