Nope. After a certain main quest, it gets attacked by Legion regardless of whether you talked to Andy or not.
Even if you're not at that point in the MQ, starting
Return to Sender will trigger the attack on Ranger Station Charlie, although it will not be occupied by Legion when you get there.