check for optional field
Merge pull request #6 from rajreddy/ted-snmp

check for optional field