On 10/16/13 10:31, zhuyj wrote: > If this patch is used in net-snmp-5.7.2, the following should be used, > too. If not, snmp-trap could not work well.
Hello Zhu, Please make yourself familiar with git and start from the V5-7-patches or master branch when preparing patches. The patch that was attached to your e-mail doesn't apply on the V5-7-branch: $ git checkout V5-7-patches Switched to branch 'V5-7-patches' Your branch is behind 'origin/V5-7-patches' by 2 commits, and can be fast-forwarded. (use "git pull" to update your local branch) $ git rebase origin/V5-7-patches First, rewinding head to replay your work on top of it... Fast-forwarded V5-7-patches to origin/V5-7-patches. $ git apply -p1 ~/net-snmp-5.7.2-fix-param-length.patch error: patch failed: agent/mibgroup/notification/snmpNotifyTable.c:338 error: agent/mibgroup/notification/snmpNotifyTable.c: patch does not apply Bart. ------------------------------------------------------------------------------ Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders