Additional DHCP test part 2. Multisubnet test - #539
Conversation
Codecov Report
@@ Coverage Diff @@
## master #539 +/- ##
==========================================
- Coverage 80.38% 80.22% -0.16%
==========================================
Files 22 22
Lines 3727 3743 +16
==========================================
+ Hits 2996 3003 +7
- Misses 731 740 +9
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
|
|
||
| range_start=$1 | ||
| range_end=$2 | ||
| net_mask=$3 |
There was a problem hiding this comment.
is this really net_mask? Isn't the value "16"? That's not a netmask, that's a CIDR or some kind of prefix space.. "net_mask" typically refers to the full 255.255.0.0 form.
There was a problem hiding this comment.
What should it be named? prefix?
|
"The number following the slash is the prefix length"
https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_blocks --
so, likely prefix_len
…On Thu, Jul 16, 2020 at 2:28 PM henry54809 ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In docker/include/networking_scripts/change_dhcp_range
<#539 (comment)>:
> @@ -0,0 +1,24 @@
+#!/bin/bash -e
+#
+# Dynamically change DHCP lease range, requires killing and restarting
+# dnsmasq as per documentation (SIGHUP does not reload configuration file).
+LOCAL_IF=${LOCAL_IF:-$HOSTNAME-eth0}
+
+range_start=$1
+range_end=$2
+net_mask=$3
What should it be named? prefix?
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
<#539 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIEPD7O5JXSYL55IXGDE53R35WG7ANCNFSM4O4YWRRA>
.
|
|
Renamed to prefix_len. PTAL
|
No description provided.