Closed dogwynn closed 3 years ago
Ok, some interfaces report a Default Gateway
as ::
or the IPv6 ~loopback~ Unspecified Address. Fixing.
Merging #56 into master will increase coverage by
0.34%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## master #56 +/- ##
==========================================
+ Coverage 84.67% 85.01% +0.34%
==========================================
Files 4 4
Lines 261 267 +6
==========================================
+ Hits 221 227 +6
Misses 40 40
Impacted Files | Coverage Δ | |
---|---|---|
src/ifcfg/parser.py | 81.81% <100.00%> (+0.56%) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update d936468...47e133c. Read the comment docs.
This addresses issue #25
Based on my understanding of
ipconfig /all
output, the default interface self-advertises by listing a valid IP address asDefault Gateway
. This PR integrates this into the theWindowsParser
class.