Two men involved in the fight that led to the death of Canberra truck driver Bob Knight have walked free from court.

The 66-year-old from Macgregor in the ACT was hit by a stray bullet from the carpark of a fast food outlet at Milperra in Sydney's south-west during a shootout between two gangs in 2009.

In the Supreme Court in Sydney today, Mustapha Mariam, who was convicted of affray, was given a minimum sentence of 18 months.

However, because his non-parole period finished yesterday, he walked free.

Tarek Elbadar also walked free after being given a two-year suspended sentence for affray.

Several others involved in the shoot-out were charged over Mr Knight's death and have already been sentenced.

The man who fired the shot, Mahmoud Mariam, was jailed in August for at least five years and nine months for manslaughter.

The judge who sentenced him, Justice Megan Latham, said he wore his contempt for the law like a badge of honour.

"The offender was a mature adult who consciously and arrogantly engaged in a mindless display of violence in the presence of much younger men," she said.

The NSW DPP is appealing against the leniency of Mahmoud Mariam's sentence.

Members of Mr Knight's family have also expressed their disappointment at the sentences.

At his funeral in July 2009, Mr Knight was remembered for his sense of humour, his love of dogs, and as "Bob the truckie", a regular on talkback radio.