From: Alex P. <ale...@ci...> - 2005-02-08 18:56:49
|
Hi Ben & Yves, = sourceforge.net/mailarchive/forum.php?thread_id=3D6508259&forum_id=3D4026= 8 >> Question? >>=20 >> The name =91Host=92 and =91Service=92 are the hard coded? >>=20 >> This because into ASNMTAP, =91Host=92 means there =91Plugin Group=92 = and=20 >> =91Service=92 means there =91Plugin Title=92 and if possible I want = to change=20 >> these two names? =20 > Maybe you want to do a patch for us? Yep, is done =20 > Edit libpp_common.h and add: =20 > #define HOST_TITLE =3D _("Host"); > #define SERVICE_TITLE =3D _("Title"); =20 > Then go through the code changing this. In your code you can change=20 > this to something else. If this is popular, this can become a=20 > configuration variable. I have attached a file with the patch and modified file into it. The patch have been created with: diff -u perfparse-0.105.5-asnmtap/libpp_common/ perfparse-0.105.5/libpp_common/ > perfparse -patch-commom diff -u perfparse-0.105.5-asnmtap/cgi/ perfparse-0.105.5/cgi > perfparse -patch-cgi -- Alex =20 =20 =20 --=20 No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.6 - Release Date: 7/02/2005 =20 =20 |