California Code
CHAPTER 4 - Regulation
Section 30955.

30955. It is unlawful for any person to permit any dog which is owned, harbored, or controlled by him to run at large on any farm on which livestock or domestic fowls are kept, without the consent of the owner of the farm, except for herding livestock, hunting or sporting purposes, or any competitive trials when the dog is within reasonable control or call of his owner or the agent of his owner.

(Enacted by Stats. 1967, Ch. 15.)