Skip to content

Commit

Permalink
Import: initialize devices
Browse files Browse the repository at this point in the history
  • Loading branch information
schubi2 committed Oct 9, 2014
1 parent 22cd677 commit 79f1a24
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/modules/Routing.rb
Expand Up @@ -337,6 +337,11 @@ def write_routes(routes)
# @return true if success
def Import(settings)
settings = deep_copy(settings)

# Getting a list of devices which have already been imported by Lan.Import
# (bnc#900352)
@devices = NetworkInterfaces.List("")

ip_forward = Ops.get_boolean(settings, "ip_forward", false)
ipv4_forward = Ops.get_boolean(settings, "ipv4_forward", ip_forward)
ipv6_forward = Ops.get_boolean(settings, "ipv6_forward", ip_forward)
Expand Down

0 comments on commit 79f1a24

Please sign in to comment.