that is the vacuum control to perform the gearbox program selection function (the S/E switch on the selector). if there is oil inside it must be gearbox oil from a split diaphragm. disconnect the pipe to see if there IS oil inside.
on your gearbox!! didn't you have some gearbox problems? the vacuum is on the o/s of the box. the one on the n/s is for manifold vac modulation. i guess the oil is red?