Skip to content

Commit

Permalink
Merge "Fixes bug 872459."
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins authored and openstack-gerrit committed Oct 20, 2011
2 parents a6ac0bc + a8264c4 commit 75a3fbb
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions nova/network/linux_net.py
Expand Up @@ -763,17 +763,6 @@ def _device_exists(device):
return not err


def _stop_dnsmasq(dev):
"""Stops the dnsmasq instance for a given network."""
pid = _dnsmasq_pid_for(dev)

if pid:
try:
_execute('kill', '-TERM', pid, run_as_root=True)
except Exception as exc: # pylint: disable=W0703
LOG.debug(_('Killing dnsmasq threw %s'), exc)


def _dhcp_file(dev, kind):
"""Return path to a pid, leases or conf file for a bridge/device."""
if not os.path.exists(FLAGS.networks_path):
Expand Down

0 comments on commit 75a3fbb

Please sign in to comment.