Skip to content

Instantly share code, notes, and snippets.

@wildchild
Created July 24, 2009 11:31
Show Gist options
  • Save wildchild/154021 to your computer and use it in GitHub Desktop.
Save wildchild/154021 to your computer and use it in GitHub Desktop.
radius.erl
has_attribute(A) when is_list(A) ->
X = radius:lookup_attribute(A),
Code = ...
has_attribute(Code);
has_attribute(A) when is_integer(A) ->
...
has_attribute({Vendor, Specific}) ->
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment