Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | port_fwd: Move automatic port forwarding code to port_fwd.[ch] | David Gibson | 2023-11-07 | 1 | -0/+179 |
The implementation of scanning /proc files to do automatic port forwarding is a bit awkwardly split between procfs_scan_listen() in util.c, get_bound_ports() and related functions in conf.c and the initial setup code in conf(). Consolidate all of this into port_fwd.h, which already has some related definitions, and a new port_fwd.c. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com> |