]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix the parse type for NGM_LISTTYPES.
authorglebius <glebius@FreeBSD.org>
Sun, 29 Dec 2013 18:34:29 +0000 (18:34 +0000)
committerglebius <glebius@FreeBSD.org>
Sun, 29 Dec 2013 18:34:29 +0000 (18:34 +0000)
commitd5c26ca6160fb25fd76294106ff07854ac16a421
tree28119107e8f6aee11a431cbd30328597f274bdbf
parent98b4df3a2350ac399f70c23527fff9d348072fe6
Fix the parse type for NGM_LISTTYPES.

Actually, text versions of generic commands are not used, since ngctl(8)
uses binary messages for them. And to request a text command one needs
a working ngctl(8). That's why the bug was never discovered. I'm pondering
on removing the text support for generic commands.

Found by: dim with clang 3.4
sys/netgraph/ng_base.c