Hi Charlie, Definitely a bug, yes. Thanks for your report. This is now fixed:
https://github.com/pmacct/pmacct/commit/ab7d675f1eaa90f753327a07c0184247f5f0517c Cheers, Paolo On Fri, Dec 30, 2016 at 11:37:31PM +0000, Charlie Smurthwaite wrote: > Hi, > > I am running pmacctd with 2 BGP sessions to a local bird instance, one > for IPv4 and one for IPv6. I have written a bgp_agent_map a follows: > > bgp_ip=127.0.0.1 ip=0.0.0.0/0 filter='ip' > bgp_ip=::1 ip=0.0.0.0/0 filter='ip6' > > Unfortunately, the second line fails to parse. The error is: > > WARN ( default/core ): [/etc/pmacct/bgp_agent_map:2] required key > missing. Required keys are: 'id', 'ip'. Line ignored. > > I have tried various other IPv6 addresses in place of "::1" and they > work, but "::1" and "0:0:0:0:0:0:0:1" will not work. I have tested this > on 1.6.1 and master. Is this a bug? > > Thanks! > Charlie > > > Charlie Smurthwaite > Technical Director > > tel. email. [email protected]<mailto:[email protected]> web. > https://atech.media > > This e-mail has been sent by aTech Media Limited (or one of its assoicated > group companys, Dial 9 Communications Limited or Viaduct Hosting Limited). > Its contents are confidential therefore if you have received this message in > error, we would appreciate it if you could let us know and delete the > message. aTech Media Limited is a UK limited company, registration number > 5523199. Dial 9 Communications Limited is a UK limited company, registration > number 7740921. Viaduct Hosting Limited is a UK limited company, registration > number 8514362. All companies are registered at Unit 9 Winchester Place, > North Street, Poole, Dorset, BH15 1NX. > > _______________________________________________ > pmacct-discussion mailing list > http://www.pmacct.net/#mailinglists _______________________________________________ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists
