CBS late-night star David Letterman was actually dissed by his own TV network, but he mistakenly put the blame on Time Warner Cable Monday night.

The cable company and CBS Corp. are in the middle of a contract dispute. During primetime Monday, CBS-ownedWCBS-TV during nearly every commercial break ran a spot warning viewers that Time Warner Cable was about to drop the TV station.

Letterman mentioned the brouhaha on his program and also aired that spot, which showed clips of what it called “your favorite CBS” shows,” including “Under the Dome,” “Big Bang Theory,” “60 Minutes,” “NFL on CBS” and “Judge Judy.”

Conspicuously missing, however, was “The Late Show With David Letterman.”

The quirky, sarcastic late-night show host pointed that out, but he incorrectly told viewers that it was a Time Warner Cable TV spot, not his employer CBS’s.

“Time Warner Cable, to get people agitated, is running this commercial,” Letterman said. “They’re mudslinging. It’s dirty. It’s just ugly.”

No Dave, that was CBS that was “mudslinging.” And you know touchy talent. Letterman then feigned being hurt by being left out of the list of favorites.

Maybe Time Warner Cable saw Letterman blaming them for the spots that CBS actually ran and then decided to retaliate by briefly pulling CBS stations off its lineup midnight in New York, Los Angeles and Dallas.

The blackout only lasted about 30 minutes, with the cable company then restoring the stations and resuming negotiations with CBS.