title: CUPS @LOCAL value
body: <p>I got two machines. One with CUPS 1.5.0 and the other with CUPS 1.6.1. The two machines are on the same local network. I want a full discovery of the printers on the network. If i run the following command: </p>
  
  <pre><code>CUPS_DEBUG_LEVEL=2 /usr/lib/cups/backend/snmp 2&gt;&amp;1
  </code></pre>
  
  <p>on both machines i get different results. The one with CUPS 1.5.0 is the result i want from the other machine with CUPS 1.6.1 too.</p>
  
  <p>I figured out the problem! There is a variable called <code>@LOCAL</code> in CUPS. The upper command equals with:</p>
  
  <pre><code>CUPS_DEBUG_LEVEL=2 /usr/lib/cups/backend/snmp @LOCAL 2&gt;&amp;1
  </code></pre>
  
  <p>The problem is that in the second case (CUPS 1.6.1) the value of the <code>@LOCAL</code> is the local IP(192.168.3.69) of the machine instead of the broadcast(192.168.3.255).</p>
  
  <p>If i run the following command on machine two all works perfectly:</p>
  
  <pre><code>CUPS_DEBUG_LEVEL=2 /usr/lib/cups/backend/snmp 192.168.3.255 2&gt;&amp;1
  </code></pre>
  
  <p>Please explain me how can i configure the value of the <code>@LOCAL</code> variable. Or why does CUPS 1.5.0 configure it well on install and 1.6.1 don't? (I did not do anything after installing, and it worked perfectly)</p>