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

dhcp - allow multiple subnets on ipv4 dhcp #816

Closed
wants to merge 8 commits into from
Closed

dhcp - allow multiple subnets on ipv4 dhcp #816

wants to merge 8 commits into from

Conversation

marcelloc
Copy link
Contributor

No description provided.

@@ -779,6 +779,28 @@ function is_valid_shaperbw($val) {
}

/* returns true if $test is in the range between $start and $end */
function is_innet_v4 ($CIDR,$IP) {
Copy link
Member

Choose a reason for hiding this comment

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

There is already ip_in_subnet() that does the same, including IPv6

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK, fixed it. The other functions I've included are fine?

Copy link
Member

Choose a reason for hiding this comment

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

You didn't push the commit with the fix, at least I cannot see it here.

@rbgarga
Copy link
Member

rbgarga commented Oct 11, 2013

Is there any special reason to use the mask instead of bitmask? It's kind of standard on most of the configuration screens on pfSense to use a drop down with bitmask instead of a text field for mask.

@marcelloc
Copy link
Contributor Author

It's used just to match dhcp screen options, it lists current network and mask. So I've included it to avoid two types of network description on same tab.

@rbgarga
Copy link
Member

rbgarga commented Feb 20, 2014

It cannot be automatically merge, could you please resubmit?

@rbgarga
Copy link
Member

rbgarga commented May 27, 2015

Patch has conflicts and cannot be merged. Can you please re-submit and I'll take care of testing and get it merged. Sorry for the long delay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants