Thu, 02 Aug 2012 22:07:29 +0200
Correct and update smf(5) logic to accommodate latest vendor version.
Support older and newer platforms by condtionally installing the
manifest to either /var/svc or cacnonical /lib/svc, and avoid usage of
svccfg(1) delete now considered risky. Leverage create_default_instance
smf macro to specify default instance instead of using instance element.
Provide a refresh execution method along with start and stop. Neither
change permissions of manifest nor call the redundant svcadm(1) disable.
1 Index: common/bpf.c
2 --- common/bpf.c.orig 2009-11-20 02:48:59.000000000 +0100
3 +++ common/bpf.c 2010-11-27 09:53:47.000000000 +0100
4 @@ -580,6 +580,9 @@
5 */
6 switch (sa->sdl_type) {
7 case IFT_ETHER:
8 +#ifdef IFT_L2VLAN
9 + case IFT_L2VLAN:
10 +#endif
11 hw->hlen = sa->sdl_alen + 1;
12 hw->hbuf[0] = HTYPE_ETHER;
13 memcpy(&hw->hbuf[1], LLADDR(sa), sa->sdl_alen);