hi all,
 I use popen("ping -c 3 192.168.0.1","r") under the code "case MODE_SET_ACTION: 
".While run snmpset,the code under"case MODE_SET_ACTION: " will be run 6 
times.the same as ftp:  fp=popen("ftp -nv","w"); my code is as follow:
    case MODE_SET_ACTION:
        /*
         * XXX: perform the value change here
         */
    popen("ping -c 3 192.168.1.1","r") ;
    MYDEBUG( printf("run here (%s  %d\n) ... ", __FILE__,__LINE__));
    break;
Could you tell me why? Thanks.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to