diff options
| author | Russ White <russ@riw.us> | 2023-04-11 09:49:01 -0400 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-11 09:49:01 -0400 | 
| commit | f26a87cd247c6ece48ef843476afc3b44e6ce5d1 (patch) | |
| tree | 20a46d79a9b32b8447fc481d3747c637036a3934 /isisd/isis_dynhn.c | |
| parent | e80c797a1f8f98c129a9605a174d451356dde008 (diff) | |
| parent | 5d39a8190740b2b54de3b4d7e1527901bcbc2a33 (diff) | |
Merge pull request #12698 from Orange-OpenSource/isisd
Isisd/Lib: Add new printfrr format facility for Intermediate System ID
Diffstat (limited to 'isisd/isis_dynhn.c')
| -rw-r--r-- | isisd/isis_dynhn.c | 6 | 
1 files changed, 2 insertions, 4 deletions
diff --git a/isisd/isis_dynhn.c b/isisd/isis_dynhn.c index 446e522019..61c49d08a7 100644 --- a/isisd/isis_dynhn.c +++ b/isisd/isis_dynhn.c @@ -145,12 +145,10 @@ void dynhn_print_all(struct vty *vty, struct isis *isis)  	vty_out(vty, "Level  System ID      Dynamic Hostname\n");  	for (ALL_LIST_ELEMENTS_RO(isis->dyn_cache, node, dyn)) {  		vty_out(vty, "%-7d", dyn->level); -		vty_out(vty, "%-15s%-15s\n", sysid_print(dyn->id), -			dyn->hostname); +		vty_out(vty, "%pSY %-15s\n", dyn->id, dyn->hostname);  	} -	vty_out(vty, "     * %s %s\n", sysid_print(isis->sysid), -		cmd_hostname_get()); +	vty_out(vty, "     * %pSY %s\n", isis->sysid, cmd_hostname_get());  	return;  }  | 
