]> git.puffer.fish Git - mirror/frr.git/commit
lib: stop parallel-passing vty_sock, detangle
authorDavid Lamparter <equinox@diac24.net>
Fri, 12 Feb 2021 22:22:32 +0000 (23:22 +0100)
committerDavid Lamparter <equinox@diac24.net>
Mon, 15 Feb 2021 00:28:52 +0000 (01:28 +0100)
commitab699721a1e8533ed7225e8b32ad1d37857f93ce
treea13e247fa4197ac9ae4efe46d5cbcfacb228ae4c
parentb6bc1ee8d363d61addd4c36ace693d5b795347d8
lib: stop parallel-passing vty_sock, detangle

The FDs are in struct vty, and there's ->fd and ->wfd, which shouldn't
be confused.  Passing vty_sock along separately just creates mixups.

Signed-off-by: David Lamparter <equinox@diac24.net>
lib/vty.c