Subject: Re: [PATCH net-next 2/5] tools: ynltool: create skeleton for the C command

From: Jakub Kicinski <[email-masked]>
Date: Thu, 6 Nov 2025 14:24:47 -0800

On Thu, 6 Nov 2025 08:37:07 -0800 Stanislav Fomichev wrote:
> > +static int do_version(int argc __attribute__((unused)),
> > +		      char **argv __attribute__((unused)))
> > +{
> > +	if (json_output) {
> > +		jsonw_start_object(json_wtr);
> > +		jsonw_name(json_wtr, "version");
> > +		jsonw_printf(json_wtr, "\"0.1.0\"");  
> 
> Any reason not to start with something like commit 4bfe3bd3cc35
> ("tools/bpftool: use version from the kernel source tree") here?
> Otherwise I doubt 0.1.0 will be changed ever.

Ah, thanks a lot for the pointer! I grepped bpftool for kernelversion
but somehow it eluded me..
-- 
pw-bot: cr