]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: Show session id when printing an error when the client disconnects
authorDonatas Abraitis <donatas@opensourcerouting.org>
Sun, 18 Jun 2023 19:07:54 +0000 (22:07 +0300)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Tue, 20 Jun 2023 17:50:40 +0000 (20:50 +0300)
commit20c2c8787a1edb2349089e81979c2d99302fe241
tree449520656d18e01361392f7f71580b3775977d4d
parentcf8a7499346e45d6423c2e9dbe1d23769bdb316e
zebra: Show session id when printing an error when the client disconnects

Before:

```
2023/06/18 22:00:42 ZEBRA: [VXKFG-8SJRV][EC 4043309121] Client 'bgp' encountered an error and is shutting down.
2023/06/18 22:00:42 ZEBRA: [VXKFG-8SJRV][EC 4043309121] Client 'bgp' encountered an error and is shutting down.
```

After:

```
2023/06/18 22:06:44 ZEBRA: [N5M5Y-J5BPG][EC 4043309121] Client 'bgp' (session id 0) encountered an error and is shutting down.
2023/06/18 22:06:44 ZEBRA: [N5M5Y-J5BPG][EC 4043309121] Client 'bgp' (session id 1) encountered an error and is shutting down.
```

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
zebra/zserv.c