Master cylinder brake lines fitting ports

I cut the flares off, change the nuts, re-flare .
Depending on manufacturer, either front or rear port can be front/disc brake .