Skip to content

Commit

Permalink
XOP-435: Allow clearing of DNS entries.
Browse files Browse the repository at this point in the history
Signed-off-by: Siddharth Vinothkumar <siddharth.vinothkumar@citrix.com>
  • Loading branch information
siddharthv authored and Siddharth VinothKumar committed Sep 18, 2013
1 parent 2969450 commit c6e5bd3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions ocaml/xapi/xapi_pif.ml
Original file line number Diff line number Diff line change
Expand Up @@ -615,10 +615,7 @@ let reconfigure_ip ~__context ~self ~mode ~iP ~netmask ~gateway ~dNS =
Db.PIF.set_IP ~__context ~self ~value:iP;
Db.PIF.set_netmask ~__context ~self ~value:netmask;
Db.PIF.set_gateway ~__context ~self ~value:gateway;
if dNS <> ""
then begin
Db.PIF.set_DNS ~__context ~self ~value:dNS;
end;
Db.PIF.set_DNS ~__context ~self ~value:dNS;
if Db.PIF.get_currently_attached ~__context ~self
then begin
debug
Expand Down

0 comments on commit c6e5bd3

Please sign in to comment.