tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: sadb_x_policy_reserved -> sadb_x_policy_flags



Hi,

Thank you for your pointing out.  I will add the definition similar
to FreeBSD.

Anyway, thank you for your fix on libreswan side.

On 2022/12/29 14:07, Andrew Cagney wrote:
I just noticed this rename when building libreswan against 10.

Can I suggest adding:
   #define sadb_x_policy_flags sadb_x_policy_flags
to signal this change to consumers?  Or perhaps there is some other
way to detect if this change is present?

As an aside, FreeBSD hid their rename by defining:
   #define sadb_x_policy_reserved sadb_x_policy_scope
from my pov that is less interesting.

Andrew

PS: the code is dumping structures


Thanks,

--
//////////////////////////////////////////////////////////////////////
Internet Initiative Japan Inc.

Device Engineering Section,
Product Division,
Technology Unit

Kengo NAKAHARA <k-nakahara%iij.ad.jp@localhost>




Home | Main Index | Thread Index | Old Index