Fix memory allocation in parser

The set_value function was incorrectly using sizeof (char *) when
allocation and reallocating memory.
Fix memory allocation for MD5 digest

The vrrp_in_chk_ipsecah and vrrp_build_ipsecah functions were
incorrectly using sizeof (unsigned char *) when allocating memory for
the MD5 digest.
Fix memory leak in vty_read_config

If vty_use_backup_config returns NULL, free any memory that has been
allocated before returning.
Fix memory leak in check_include

The check_include function should always free the allocated strvec.
Check content length before allocating memory

Since extract_content_length should return 0 if CONTENT_LENGTH is not
found in the buffer, this check should be done before allocating
memory. This avoids unnecessary malloc/free calls and fixes a
potential memory leak.
Free memory if realloc fails in vty_out

If realloc returns NULL, free the original memory before returning.
Remove redundant close from vty_use_backup_config

The sav file descriptor is closed after read, so there is no need to
close it again is chmod operation fails.
Remove unnecessary netlink rtattr structures

Both netlink_link_setmode and netlink_link_add_vmac have rtattr
structures that are no needed. The addattr_l function will handle
adding the rtattr to the message. Also, this patch removes incorrect
void pointer arithmetic when setting rta_len.
vrrp: dont try to leave mcast group in unicast mode

Only perform mcast drop membership in multicast mode.
vrrp: Release and refresh properly fd hash index

Rehashing into the same loop as releasing is not really the best idea...
Reworked a little previous patch to properly release hash entries related
to the same instance and then hash it back on new fd.
vrrp: use configuration mcast group for leave message

Just forgot to use configured mcast group (v6,v4) in previous related
patch while leaving VRRP group.
Merge pull request #67 from rohara/devel

Fix various memory allocation bugs and resource leaks.
vrrp: reverted vmac patch included in last merge

Hey, current VMAC code is working and tested... arithmetic is right and
structures needed ! You can optimize this just in one way by removing
netlink_link_setmode and setting mac address and private mode directly
in netlink_link_add_vmac in one shot. But design here is directly coming
from iproute2 code so I decided to keep this design.
vrrp: dont try to load ip_vs module when not needed

Add some logic around to not load ip_vs module when VRRP conf
dont need it (eg: lvs_sync_daemon_interface").
keepalived-1.2.11
parser: fix realloc issue

Fix reallocation issue introduced in last merge
keepalived-1.2.12
Initial packaging for v1.2.10.
Don't build for Debian or Ubuntu Lucid.
Depend on pkg-config, to assist in finding libnl-3-dev later.