Banner on raw connection...

michelinok
2012-04-04
2013-04-01
  • michelinok
    michelinok
    2012-04-04

    Hi there!
    Great work!
    My question is simple….is there a way to have the banner on raw connection too?

     
  • Corey Minyard
    Corey Minyard
    2012-04-04

    The following patch should fix it.

    diff -u -r1.55 dataxfer.c
    --- dataxfer.c  23 Mar 2012 20:24:08 -0000      1.55
    +++ dataxfer.c  4 Apr 2012 21:14:59 -0000
    @@ -1678,6 +1678,9 @@
         } else {
            sel_set_fd_read_handler(ser2net_sel, port->devfd,
                                    SEL_FD_HANDLER_ENABLED);
    +       /* In case there is a banner to write. */
    +       sel_set_fd_write_handler(ser2net_sel, port->tcpfd,
    +                                SEL_FD_HANDLER_ENABLED);
         }
         display_banner(port);
    
     
  • michelinok
    michelinok
    2012-04-08

    works perfectly thanks!

    PS: Remember to add "my" 2 bug/feautures in next release :)

    Great job man!