Except in an area in which the provisions of Article 2 (commencing with Section 31151) of this chapter apply or as otherwise provided in Section 31104, any dog entering any enclosed or unenclosed property upon which livestock or poultry are confined may be seized or killed by the owner or tenant of the property or by any employee of the owner or tenant. No action, civil or criminal, shall be maintained against the owner, tenant, or employee for the seizure or killing of any such dog.
Ca. Food and Agric. Code § 31103