[PATCH] Multiple search domains in OpenVPN



Hello all,

I'm widely using OpenVPN and recently found that network-manager-openvpn plugin just ignores all but first search domains it has to send to NM.

I wrote a little patch, that obviously fixes the issue, however I'm not familiar with the libglib API at all, so it would be nice if someone check whether I put all frees correctly or not (when I wrote it, it wasn't obvious to me, how to deal with string arrays in glib and who controls each item at the moment).

The second tiny patch is the patch for network-manager itself, it just fixes the logging of search domains: while they are received correctly, only the first one was logged.

I'll be glad to hear any comments, and of course to see the patches in upstream.
Thanks in advance.

Best wishes and have a nice day,
Vsevolod Velichko

Attachment: 0001-send-all-search-domains-to-nm.patch
Description: Binary data

Attachment: 0002-log-all-vpn-search-domains.patch
Description: Binary data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]