diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-08-20 19:47:59 -0400 | 
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-09-06 20:50:58 +0000 | 
| commit | 85c9b439498077e97f0b0e060e3082a08e21d51e (patch) | |
| tree | a62518def647697886764a65c9e0c6d8fe009332 /ospfd/ospf_ext.c | |
| parent | 34f74c7a37fbae349a4a2721443417cb3bc89f05 (diff) | |
ospfd: Add OSPF_WARN_OPAQUE_REGISTRATION
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'ospfd/ospf_ext.c')
| -rw-r--r-- | ospfd/ospf_ext.c | 7 | 
1 files changed, 5 insertions, 2 deletions
diff --git a/ospfd/ospf_ext.c b/ospfd/ospf_ext.c index 25b27d442b..8ddf7db9d1 100644 --- a/ospfd/ospf_ext.c +++ b/ospfd/ospf_ext.c @@ -62,6 +62,7 @@  #include "ospfd/ospf_zebra.h"  #include "ospfd/ospf_sr.h"  #include "ospfd/ospf_ext.h" +#include "ospfd/ospf_errors.h"  /* Following structure are internal use only. */ @@ -136,7 +137,8 @@ int ospf_ext_init(void)  		NULL);			     /* del_lsa_hook */  	if (rc != 0) { -		zlog_warn("EXT (%s): Failed to register Extended Link LSA", +		flog_warn(OSPF_WARN_OPAQUE_REGISTRATION, +			  "EXT (%s): Failed to register Extended Link LSA",  			  __func__);  		return rc;  	} @@ -157,7 +159,8 @@ int ospf_ext_init(void)  		ospf_ext_pref_lsa_update,    /* new_lsa_hook */  		NULL);			     /* del_lsa_hook */  	if (rc != 0) { -		zlog_warn("EXT (%s): Failed to register Extended Prefix LSA", +		flog_warn(OSPF_WARN_OPAQUE_REGISTRATION, +			  "EXT (%s): Failed to register Extended Prefix LSA",  			  __func__);  		return rc;  	}  | 
