[Dnsmasq-discuss] The compile error of the latest git version.
Kurt H Maier
khm at sciops.net
Tue Mar 1 03:42:02 GMT 2016
On Tue, Mar 01, 2016 at 09:07:50AM +0800, Hongyi Zhao wrote:
> Hi all,
>
> I try to compile the latest git version, but meet the following error:
>
> --------------
> edns0.c: In function ‘add_pseudoheader’:
> edns0.c:148:8: error: ‘islast’ undeclared (first use in this function)
> islast = 0;
> ^
Looks like a typo in the last commit. Try this:
--- src-orig/edns0.c 2016-02-29 22:37:29.000000000 -0500
+++ src/edns0.c 2016-02-29 22:38:29.573439000 -0500
@@ -145,7 +145,7 @@
if (i + len > rdlen)
{
rdlen = 0;
- islast = 0;
+ is_last = 0;
break;
Hope this helps,
khm
More information about the Dnsmasq-discuss
mailing list