diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-09-05 23:10:26 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-09-05 23:10:26 +0000 |
commit | a3d4af03bbedccb5c777562284c1098b9df7fe8a (patch) | |
tree | eaf07db68fad7e736183179cb049962e98e2d619 /slirp/tcp_input.c | |
parent | 9d728e8c4ed000b1d6a77230d11b3761a7c8b5a1 (diff) | |
download | qemu-a3d4af03bbedccb5c777562284c1098b9df7fe8a.zip qemu-a3d4af03bbedccb5c777562284c1098b9df7fe8a.tar.gz qemu-a3d4af03bbedccb5c777562284c1098b9df7fe8a.tar.bz2 |
allow inetd like program exec
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1060 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'slirp/tcp_input.c')
-rw-r--r-- | slirp/tcp_input.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/slirp/tcp_input.c b/slirp/tcp_input.c index 4f74d0c..42f02b3 100644 --- a/slirp/tcp_input.c +++ b/slirp/tcp_input.c @@ -658,10 +658,11 @@ findso: if(lastbyte==CTL_CMD || lastbyte==CTL_EXEC) { /* Command or exec adress */ so->so_state |= SS_CTL; - } else { + } else +#endif + { /* May be an add exec */ struct ex_list *ex_ptr; - for(ex_ptr = exec_list; ex_ptr; ex_ptr = ex_ptr->ex_next) { if(ex_ptr->ex_fport == so->so_fport && lastbyte == ex_ptr->ex_addr) { @@ -671,7 +672,6 @@ findso: } } if(so->so_state & SS_CTL) goto cont_input; -#endif } /* CTL_ALIAS: Do nothing, tcp_fconnect will be called on it */ } |