Thanks Nikos, It worked now by using the master code only. Noticed an interesting behavior, sometimes termination field of my radius record was logged as "Lost-Service" but the truth is I terminated the connection explicitly. I can't reproduce it now but most likely this happens when a device connected to the ocserv server first time. Regards, Di On Sat, May 16, 2015 at 9:54 PM, Nikos Mavrogiannopoulos <nmav at gnutls.org> wrote: > On Fri, 2015-05-15 at 23:44 +0800, Teki Ri wrote: >> Thanks Nikos, >> >> I want to test it on my environment, but failed to build the binary >> (patched 0.10.4 with master code). > > Actually that's the issue. You cannot patch 0.10.4 with master code > because there are auto-generated files. Use the master code only. > > regards, > Nikos > >