Both sides had accused each other of provocation and opening fire following a row over border demarcation.