There's no real need for portfwd.c to reference `cfg' directly, when