diff options
| author | Ahmad Khalifa <vexeduxr@FreeBSD.org> | 2026-01-06 02:07:29 +0000 |
|---|---|---|
| committer | Ahmad Khalifa <vexeduxr@FreeBSD.org> | 2026-01-06 02:10:11 +0000 |
| commit | 9b2478f60bfda663c84b48e272a2293159e1b0a0 (patch) | |
| tree | 35cf07864cb9e3444268d1f34828dafeffc7012e | |
| parent | 0b298e314a8b47c1f2bf8a9ff86c050accbd744d (diff) | |
| -rw-r--r-- | sys/netgraph/ng_tty.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netgraph/ng_tty.c b/sys/netgraph/ng_tty.c index 0e3230a66f66..200a72336110 100644 --- a/sys/netgraph/ng_tty.c +++ b/sys/netgraph/ng_tty.c @@ -489,7 +489,8 @@ ngt_rint(struct tty *tp, char c, int flags) m->m_pkthdr.len++; /* Ship off mbuf if it's time */ - if (sc->hotchar == -1 || c == sc->hotchar || m->m_len >= MHLEN) { + if (sc->hotchar == -1 || (u_char)c == sc->hotchar || + m->m_len >= MHLEN) { sc->m = NULL; NG_SEND_DATA_ONLY(error, sc->hook, m); /* Will queue */ } |
