daily pastebin goal
58%
SHARE
TWEET

Untitled

a guest Jan 19th, 2019 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff --git a/lib/proxy/dhcp/server/native_ms.rb b/lib/proxy/dhcp/server/native_ms.rb
  2. index a442002..1360261 100644
  3. --- a/lib/proxy/dhcp/server/native_ms.rb
  4. +++ b/lib/proxy/dhcp/server/native_ms.rb
  5. @@ -45,7 +45,7 @@ module Proxy::DHCP
  6.              execute "scope #{record.subnet.network} set reservedoptionvalue #{record.ip} #{SUNW[attr][:code]} #{SUNW[attr][:kind]} vendor=#{alternate_vendor_name || vendor} #{value}", msg, true
  7.            rescue Proxy::DHCP::Error => e
  8.              alternate_vendor_name = find_or_create_vendor_name vendor, e
  9. -            execute "scope #{record.subnet.network} set reservedoptionvalue #{ip} #{SUNW[attr][:code]} #{SUNW[attr][:kind]} vendor=#{alternate_vendor_name || vendor} #{value}", msg, true
  10. +            execute "scope #{record.subnet.network} set reservedoptionvalue #{record.ip} #{SUNW[attr][:code]} #{SUNW[attr][:kind]} vendor=#{alternate_vendor_name || vendor} #{value}", msg, true
  11.            end
  12.          else
  13.            logger.debug "key: " + key.inspect
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top