{"action":"created","issue":{"url":"https://api.github.com/repos/chmorgan/packetnet/issues/3","labels_url":"https://api.github.com/repos/chmorgan/packetnet/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/chmorgan/packetnet/issues/3/comments","events_url":"https://api.github.com/repos/chmorgan/packetnet/issues/3/events","html_url":"https://github.com/chmorgan/packetnet/issues/3","id":112837886,"number":3,"title":"Unable to print LLDP packet details","user":{"login":"nmiglio","id":15250689,"avatar_url":"https://avatars.githubusercontent.com/u/15250689?v=3","gravatar_id":"","url":"https://api.github.com/users/nmiglio","html_url":"https://github.com/nmiglio","followers_url":"https://api.github.com/users/nmiglio/followers","following_url":"https://api.github.com/users/nmiglio/following{/other_user}","gists_url":"https://api.github.com/users/nmiglio/gists{/gist_id}","starred_url":"https://api.github.com/users/nmiglio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmiglio/subscriptions","organizations_url":"https://api.github.com/users/nmiglio/orgs","repos_url":"https://api.github.com/users/nmiglio/repos","events_url":"https://api.github.com/users/nmiglio/events{/privacy}","received_events_url":"https://api.github.com/users/nmiglio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-22T16:12:04Z","updated_at":"2015-10-23T09:09:52Z","closed_at":null,"body":"When using ToString(Verbose) with an LLDP packet for some TLVs the value is not printed (there is instead the string `System.Byte[]`).\r\nThis is the output I have when reading a packet:\r\n\r\n    LLDP:[ChassisID: SubType=MACAddress, SubTypeValue=4C9EFFF4F183]\r\n    LLDP:[PortID: SubType=LocallyAssigned, SubTypeValue=System.Byte[]]\r\n    LLDP:[TimeToLive: Seconds=120]\r\n    ...\r\n    LLDP:[ManagementAddress: AddressLength=5, AddressSubType=IPv4, MgmtAddress=[NetworkAddress: AddressFamily=IPv4, Address=192.168.1.1], InterfaceSubType=3, InterfaceNumber=0, ObjIdLength=0, ObjectIdentifier=]\r\n    LLDP:[OrganizationSpecific: OrganizationUniqueID=System.Byte[], OrganizationDefinedSubType=1, OrganizationDefinedInfoString=System.Byte[]]\r\n    LLDP:[OrganizationSpecific: OrganizationUniqueID=System.Byte[], OrganizationDefinedSubType=2, OrganizationDefinedInfoString=System.Byte[]]\r\n    LLDP:[OrganizationSpecific: OrganizationUniqueID=System.Byte[], OrganizationDefinedSubType=3, OrganizationDefinedInfoString=System.Byte[]]\r\n    LLDP:[OrganizationSpecific: OrganizationUniqueID=System.Byte[], OrganizationDefinedSubType=4, OrganizationDefinedInfoString=System.Byte[]]\r\n    LLDP:[OrganizationSpecific: OrganizationUniqueID=System.Byte[], OrganizationDefinedSubType=5, OrganizationDefinedInfoString=System.Byte[]]\r\n    LLDP:[EndOfLLDPDU]\r\n    LLDP:\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/chmorgan/packetnet/issues/comments/150523749","html_url":"https://github.com/chmorgan/packetnet/issues/3#issuecomment-150523749","issue_url":"https://api.github.com/repos/chmorgan/packetnet/issues/3","id":150523749,"user":{"login":"nmiglio","id":15250689,"avatar_url":"https://avatars.githubusercontent.com/u/15250689?v=3","gravatar_id":"","url":"https://api.github.com/users/nmiglio","html_url":"https://github.com/nmiglio","followers_url":"https://api.github.com/users/nmiglio/followers","following_url":"https://api.github.com/users/nmiglio/following{/other_user}","gists_url":"https://api.github.com/users/nmiglio/gists{/gist_id}","starred_url":"https://api.github.com/users/nmiglio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmiglio/subscriptions","organizations_url":"https://api.github.com/users/nmiglio/orgs","repos_url":"https://api.github.com/users/nmiglio/repos","events_url":"https://api.github.com/users/nmiglio/events{/privacy}","received_events_url":"https://api.github.com/users/nmiglio/received_events","type":"User","site_admin":false},"created_at":"2015-10-23T09:09:51Z","updated_at":"2015-10-23T09:09:51Z","body":"I think there is a problem in how the byte array is printed.\r\nFor example when in PortID the SupTypeValue is read a byte array is returned. This byte array is passed as it is to string.Format()"}}