FreeBSD porting and IMSI bugfix
8 files changed