diff options
| author | sri-mohan1 <sri.mohan@samsung.com> | 2022-08-29 12:23:46 +0530 |
|---|---|---|
| committer | sri-mohan1 <sri.mohan@samsung.com> | 2022-08-29 12:27:03 +0530 |
| commit | 1f46f33f9a8d6c7b8a887e34ad8f7a52f44c1187 (patch) | |
| tree | 8caeae00ef1b1dd78182dd1feb07f7669abb07d8 /isisd/isis_circuit.c | |
| parent | 70ad0b662728686cbf7aad3889199689224e3144 (diff) | |
isisd: changes for code maintainability
these changes are for improving the code maintainability
Signed-off-by: sri-mohan1 <sri.mohan@samsung.com>
Diffstat (limited to 'isisd/isis_circuit.c')
| -rw-r--r-- | isisd/isis_circuit.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/isisd/isis_circuit.c b/isisd/isis_circuit.c index 9e97e48937..178fbe7903 100644 --- a/isisd/isis_circuit.c +++ b/isisd/isis_circuit.c @@ -513,7 +513,7 @@ void isis_circuit_if_add(struct isis_circuit *circuit, struct interface *ifp) } else { /* It's normal in case of loopback etc. */ if (IS_DEBUG_EVENTS) - zlog_debug("isis_circuit_if_add: unsupported media"); + zlog_debug("%s: unsupported media", __func__); circuit->circ_type = CIRCUIT_T_UNKNOWN; } @@ -678,10 +678,10 @@ int isis_circuit_up(struct isis_circuit *circuit) } #ifdef EXTREME_DEGUG if (IS_DEBUG_EVENTS) - zlog_debug( - "isis_circuit_if_add: if_id %d, isomtu %d snpa %s", - circuit->interface->ifindex, ISO_MTU(circuit), - snpa_print(circuit->u.bc.snpa)); + zlog_debug("%s: if_id %d, isomtu %d snpa %s", __func__, + circuit->interface->ifindex, + ISO_MTU(circuit), + snpa_print(circuit->u.bc.snpa)); #endif /* EXTREME_DEBUG */ circuit->u.bc.adjdb[0] = list_new(); |
