Permalink
Browse files

fixed bug reported by smacedo

  • Loading branch information...
1 parent 9ca8f1e commit 6fd7500fcc5407e785dc6d24209cffeff1cb8a15 @lirazsiri lirazsiri committed Dec 13, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 ifutil.py
View
4 ifutil.py
@@ -60,8 +60,8 @@ def write_conf(self, ifname, ifconf):
(self.CONF_FILE, self.HEADER_UNCONFIGURED))
# carry over previously defined interface options
- ifconf += "\n".join([ " " + opt
- for opt in self._get_iface_opts(ifname) ])
+ ifconf += "\n" + "\n".join([ " " + opt
+ for opt in self._get_iface_opts(ifname) ])
fh = file(self.CONF_FILE, "w")
print >> fh, self.HEADER_UNCONFIGURED

0 comments on commit 6fd7500

Please sign in to comment.