On Mon, Apr 8, 2013 at 9:40 PM, Victor Julien <notifications@github.com>wrote:

> In src/app-layer-protos.c:
>
> > +            break;
> > +        case ALPROTO_SMB:
> > +            proto_name = "smb";
> > +            break;
> > +        case ALPROTO_SMB2:
> > +            proto_name = "smb2";
> > +            break;
> > +        case ALPROTO_DCERPC:
> > +            proto_name = "dcerpc";
> > +            break;
> > +        case ALPROTO_DCERPC_UDP:
> > +            proto_name = "dcerpcudp";
> > +            break;
> > +        case ALPROTO_IRC:
> > +            proto_name = "irc";
> > +            break;
> >          default:
>
> enum AppLayerProtos { }; would work for me.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/inliniac/suricata/pull/338/files#r3697368>
> .
>

In the new PR I pushed I have used AppProto.  Does that work for you?

-- 
Anoop Saldanha