Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #12884 - Allow importing subnets from smart proxy #2992

Closed
wants to merge 1 commit into from

Conversation

tbrisker
Copy link
Member

No description provided.

@@ -193,7 +193,7 @@ def self.import(proxy)

next if exists?(attrs)
attrs.merge!(parse_dhcp_options(s['options'])) if s['options'].present?
new(attrs.update(:dhcp => proxy))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not just adding dhcp', 'dns' andtftp` to attr_accessible? I think that'd be the only change required.

@tbrisker
Copy link
Member Author

@dLobatog Changed this to add the missing attributes as you suggested.

@dLobatog
Copy link
Member

👍 to merge when Jenkins comes back

@dLobatog
Copy link
Member

[test]

@dLobatog
Copy link
Member

Merged as e42c110, thanks @tbrisker!

@dLobatog dLobatog closed this Dec 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants