Concerning handling of force_lpq_status.
On line 132 you can today read this:
Split(&l,t,Value_sep,0,0,0,0,0,0);
If I understand this correctly, and look at other examples of calls to
Match_ipaddr_valus, the use of Value_sep here is wrong, as you want to be
able to enumerate IP adresses/masks with comma, and hence need to split on
comma and not on for example an equal sign ("="). For this to happen you
should probably use File_sep which is used elsewhere. Problem is of course
that in also contains semicolon, but we have already split on that earlier
to it should be safe to use. But I must again repeat my earlier note that
the relaxed use of separators is biting our ass right here. I would
replace line 132 with
Split(&l,t,File_sep,0,0,0,0,0,0);
for the time being, while thinking about redoing the entire separator
scheme in LPRng.
Because I presume that you mean that one should be able to put a
comma-separated list there, I quote the HOWTO:
"The entry has the format KEY=list;KEY=list... where KEY is s for short
and l for long format, and list is a list of hosts or IP addresses."
If you use the former (current) version of that line (with Value_sep) you
would have to use the format:
KEY=ip1=ip2=ip3;KEY=ip4=ip5=ip6
So either the documenation or code is wrong.
Best regards,
Henrik
-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------