Re: [Wireshark-dev] Function getaddrinfo() vanished in one of the later commits.

2019-01-04 Thread Guy Harris
On Jan 4, 2019, at 2:38 PM, hdv wrote: > I'm not a guru on CMake, so no idea if the libraries are binary loaded > (probably) or built locally. I even don't know in which lib it was before, it > just worked and now this surprises me. I followed the installation > instructions (more or less) for

Re: [Wireshark-dev] Function getaddrinfo() vanished in one of the later commits.

2019-01-04 Thread hdv
On 4-1-2019 21:53, Guy Harris wrote: On Jan 4, 2019, at 3:59 AM, hdv wrote: In the extcap plugin I'm developing I used the getaddrinfo() call to resolve hostnames. This should be favorable over gethostname() which is actually deprecated AFAIK. The previous commit I was developing on was ar

Re: [Wireshark-dev] Function getaddrinfo() vanished in one of the later commits.

2019-01-04 Thread Guy Harris
On Jan 4, 2019, at 3:59 AM, hdv wrote: > In the extcap plugin I'm developing I used the getaddrinfo() call to resolve > hostnames. This should be favorable over gethostname() which is actually > deprecated AFAIK. > > The previous commit I was developing on was around june 14th, 2018 > (27a190

Re: [Wireshark-dev] Cannot get external capture (extcap) interface to work with my new plugin.

2019-01-04 Thread hdv
Please also see my remarks inline too below this about the mailing list and template/example code. I have some additional information on the errorhandling and what goes wrong in this case: What I want to do is (when simulating an error in the plugin): -open the output pipe -issue a g_error("%s:

Re: [Wireshark-dev] Function getaddrinfo() vanished in one of the later commits.

2019-01-04 Thread hdv
On 4-1-2019 12:59, hdv wrote: Hi, In the extcap plugin I'm developing I used the getaddrinfo() call to resolve hostnames. This should be favorable over gethostname() which is actually deprecated AFAIK. Ofcourse I mean: gethostbyname(). The previous commit I was developing on was around jun

[Wireshark-dev] Function getaddrinfo() vanished in one of the later commits.

2019-01-04 Thread hdv
Hi, In the extcap plugin I'm developing I used the getaddrinfo() call to resolve hostnames. This should be favorable over gethostname() which is actually deprecated AFAIK. The previous commit I was developing on was around june 14th, 2018 (27a1906c582b..) where it still worked, now after reb

Re: [Wireshark-dev] Cannot get external capture (extcap) interface to work with my new plugin.

2019-01-04 Thread hdv
On 4-1-2019 10:39, hdv wrote: On 4-1-2019 00:10, Dario Lombardo wrote: On Thu, Jan 3, 2019 at 5:36 PM hdv > wrote: On 2-1-2019 18:30, Dario Lombardo wrote: You cannot trace your code using prints because they're handled by the caller (dumpcap)

Re: [Wireshark-dev] Cannot get external capture (extcap) interface to work with my new plugin.

2019-01-04 Thread hdv
On 4-1-2019 00:10, Dario Lombardo wrote: On Thu, Jan 3, 2019 at 5:36 PM hdv > wrote: On 2-1-2019 18:30, Dario Lombardo wrote: You cannot trace your code using prints because they're handled by the caller (dumpcap). Have a look at the other extcap