On Mon, Mar 11, 2013 at 11:30:26AM +0200, Dimitris Aragiorgis wrote: > * Iustin Pop <[email protected]> [2013-03-11 10:16:38 +0100]: > > > Hi all, > > > > The network fields in queries are declared as follows: > > > > - name: QFT_TEXT > > - network: QFT_TEXT > > - gateway: QFT_OTHER > > - network6: QFT_OTHER > > - gateway6: QFT_OTHER > > - mac_prefix: QFT_OTHER > > > > I find this a bit inconsistent; both network, gateway, n6, g6 are IP > > addresses, so we should choose either QFT_TEXT or QFT_OTHER for all of > > them, but not mixed. > > > > MAC prefix is, well, a mac prefix, so it should have the same type as > > above. > > > > Thoughts? > > > > Hi, > > I think they are defined QFT_OTHER because they can be None. name and > network are mandatory at the moment. If I switch network to QFT_OTHER > I think this raises an error. Am I stand correctly?
I have just written a patch that reports None correctly as UNAVAIL, so even if this is the cause, that will get fixed. thanks, iustin
