<html>
<head>
<base href="https://bugzilla.netfilter.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Error messaging for "interval overlaps with previous one" misidentifies location"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1216">1216</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Error messaging for "interval overlaps with previous one" misidentifies location
</td>
</tr>
<tr>
<th>Product</th>
<td>nftables
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>major
</td>
</tr>
<tr>
<th>Priority</th>
<td>P5
</td>
</tr>
<tr>
<th>Component</th>
<td>nft
</td>
</tr>
<tr>
<th>Assignee</th>
<td>pablo@netfilter.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>netfilter@allycomm.com
</td>
</tr></table>
<p>
<div>
<pre>At least when "include" is employed, the error message returned when "interval
overlaps with previous one" can fail to properly identify the file/line of the
source of the overlap.
Noted on nftables master branch after
commit 0b3ccd27e12d1df442aa3eac40a2ccb63d6c6407
Author: Phil Sutter <<a href="mailto:phil@nwl.cc">phil@nwl.cc</a>>
Date: Wed Jan 10 13:43:21 2018 +0100
including
commit 9afd72a883e391e366a1d75bb4e1705357e078e9
commit b4c7117ef552d0d71bde1db4a047b4c005699951
If a single include is used that contains the overlapping intervals, it appears
to report the proper file, line, and location
./blackhole_ipv6.nft:14:9-13: Error: interval overlaps with previous one
::/96, # IPv4-compatible address
^^^^^
If an include of "unrelated" content appears either before or after the "bad"
include, the error message is incorrect.
With an include before the "bad" include:
In file included from nftables.conf:8:5-35:
./blackhole_ipv6.nft:45:9-23: Error: interval overlaps with previous one
^^^^^^^^^^^^^^^
With an include after the "bad" include
In file included from nftables.conf:10:5-34:
./defines_modem.nft:45:9-23: Error: interval overlaps with previous one
^^^^^^^^^^^^^^^</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>