diff options
Diffstat (limited to 'ospfd/ospf_ism.c')
| -rw-r--r-- | ospfd/ospf_ism.c | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/ospfd/ospf_ism.c b/ospfd/ospf_ism.c index e9faa415fe..36e97f8779 100644 --- a/ospfd/ospf_ism.c +++ b/ospfd/ospf_ism.c @@ -223,8 +223,8 @@ int ospf_dr_election(struct ospf_interface *oi)  	new_state = ospf_ism_state(oi); -	zlog_debug("DR-Election[1st]: Backup %s", inet_ntoa(BDR(oi))); -	zlog_debug("DR-Election[1st]: DR     %s", inet_ntoa(DR(oi))); +	zlog_debug("DR-Election[1st]: Backup %pI4", &BDR(oi)); +	zlog_debug("DR-Election[1st]: DR     %pI4", &DR(oi));  	if (new_state != old_state  	    && !(new_state == ISM_DROther && old_state < ISM_DROther)) { @@ -233,8 +233,8 @@ int ospf_dr_election(struct ospf_interface *oi)  		new_state = ospf_ism_state(oi); -		zlog_debug("DR-Election[2nd]: Backup %s", inet_ntoa(BDR(oi))); -		zlog_debug("DR-Election[2nd]: DR     %s", inet_ntoa(DR(oi))); +		zlog_debug("DR-Election[2nd]: Backup %pI4", &BDR(oi)); +		zlog_debug("DR-Election[2nd]: DR     %pI4", &DR(oi));  	}  	list_delete(&el_list);  | 
