update xfrm monitoring to use nl_mgrp
Stephen, I will wait until you sync all these patches ive sent; then send a couple more then i will be done. cheers, jamal [XFRM] update xfrm monitoring to use nl_mgrp Signed-off-by: J Hadi Salim <hadi@cyberus.ca> Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
This commit is contained in:
parent
8cd09e61e3
commit
7b8225122d
|
|
@ -292,17 +292,17 @@ int do_xfrm_monitor(int argc, char **argv)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (lacquire)
|
if (lacquire)
|
||||||
groups |= XFRMGRP_ACQUIRE;
|
groups |= nl_mgrp(XFRMNLGRP_ACQUIRE);
|
||||||
if (lexpire)
|
if (lexpire)
|
||||||
groups |= XFRMGRP_EXPIRE;
|
groups |= nl_mgrp(XFRMNLGRP_EXPIRE);
|
||||||
if (lsa)
|
if (lsa)
|
||||||
groups |= XFRMGRP_SA;
|
groups |= nl_mgrp(XFRMNLGRP_SA);
|
||||||
if (lpolicy)
|
if (lpolicy)
|
||||||
groups |= XFRMGRP_POLICY;
|
groups |= nl_mgrp(XFRMNLGRP_POLICY);
|
||||||
if (laevent)
|
if (laevent)
|
||||||
groups |= (1 << (XFRMNLGRP_AEVENTS - 1));
|
groups |= nl_mgrp(XFRMNLGRP_AEVENTS);
|
||||||
if (lreport)
|
if (lreport)
|
||||||
groups |= XFRMGRP_REPORT;
|
groups |= nl_mgrp(XFRMNLGRP_REPORT);
|
||||||
|
|
||||||
if (file) {
|
if (file) {
|
||||||
FILE *fp;
|
FILE *fp;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue