The HDF decreased (P < 0.05) the contents of IL-1β, IL-17, IFN-γ, and TGF-β in the TB pigs and IL-1β, IL-17, and TGF-β in the XB pigs compared with the pigs fed with LDF, respectively. The gene discussed is TGFB1; the disease is tuberculosis.