fix invalid ttl bug
Merge into master from pull request #32:
fix invalid ttl bug (https://github.com/floodlight/switchlight-common/pull/32)