{"action":"closed","issue":{"url":"https://api.github.com/repos/fiorix/go-diameter/issues/23","labels_url":"https://api.github.com/repos/fiorix/go-diameter/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/fiorix/go-diameter/issues/23/comments","events_url":"https://api.github.com/repos/fiorix/go-diameter/issues/23/events","html_url":"https://github.com/fiorix/go-diameter/issues/23","id":99193206,"number":23,"title":"Problem having vendor specific AVP with an existing AVP code","user":{"login":"taseppa","id":2930680,"avatar_url":"https://avatars.githubusercontent.com/u/2930680?v=3","gravatar_id":"","url":"https://api.github.com/users/taseppa","html_url":"https://github.com/taseppa","followers_url":"https://api.github.com/users/taseppa/followers","following_url":"https://api.github.com/users/taseppa/following{/other_user}","gists_url":"https://api.github.com/users/taseppa/gists{/gist_id}","starred_url":"https://api.github.com/users/taseppa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taseppa/subscriptions","organizations_url":"https://api.github.com/users/taseppa/orgs","repos_url":"https://api.github.com/users/taseppa/repos","events_url":"https://api.github.com/users/taseppa/events{/privacy}","received_events_url":"https://api.github.com/users/taseppa/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-08-05T12:25:21Z","updated_at":"2015-12-02T16:12:46Z","closed_at":"2015-12-02T16:12:46Z","body":"According to RFC:\r\n\"The AVP Code, combined with the Vendor-Id field, identifies the  attribute uniquely.\"\r\n\r\nBut currently I seem to have some parsing problems if you use a vendor specific AVP with a code that already exists. At least in avp/codes.go this looks a bit odd:\r\n\r\ndictAVP, err := dictionary.FindAVP(application, a.Code)\r\n\r\nBecause the FindAVP doesn't take vendorId as parameter."}}