At least two Frontier Corps men were martyred and five injured while surveying Pakistan's border with Afghanistan, Inter-Services Public Relations said Sunday.

The military's media wing claimed that the troops were fired upon from Afghanistan's side in Kurram Agency.

"Troops were carrying out routine surveillance along Pak-Afghan border for plugging of gaps and making necessary preparations for starting fencing in that area," it added.

It said that the firing resulted in the martyrdom of at least two FC men while five others received injuries.

"Pakistani troops are exercising maximum restraint so as to avoid any Afghan civilian casualties. Military engagement is underway to defuse situation," the statement added.