Front diff cage in shambles

Hi All, Just acquired a 04 sportsman 700 EFI. Previous owner complained that it was always in 4wheel. Took it apart and pieces fell out like broken glass!!
Actually, the question I have is…the little nipple on the side of the housing towards the front of the diff on same side as electric wire. I have no idea what it is for and couldn’t find anything that looked like it would hook up to it. any suggestions?

Attached Thumbnails

Click image for larger version

Name:	photo.JPG
Views:	N/A
Size:	123.0 KB
ID:	57762
 

Click image for larger version

Name:	photo2.JPG
Views:	N/A
Size:	121.2 KB
ID:	57770