Skip to content

Commit

Permalink
fix interface create
Browse files Browse the repository at this point in the history
  • Loading branch information
flagos committed Jun 24, 2012
1 parent 976bdc6 commit 0183243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/Export.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def update_ifaces # plugged ifaces will be mine
@pin_web.update_ifaces
@pin_web.ifaces.each do |iface|
ifacedb = @model.interfaces.find_by_name(iface)
if !ifacedb.nil?
if ifacedb.nil?
@model.interfaces.create({:name => iface})
end
end
Expand Down

0 comments on commit 0183243

Please sign in to comment.